From nobody Mon Feb 13 18:38:57 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFtQp1RMRz3ph3q; Mon, 13 Feb 2023 18:38:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFtQp0tClz43j6; Mon, 13 Feb 2023 18:38:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676313538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GB+cz7gGDQn35MZE5O7wZDpHLW/9gwCvB+99bQ0f3fM=; b=g1cJ6oWpdMdbkvvbKeCdwJfegGjiDtXq0wLUYdV+MN5tRdScjAouHF2XkWXVGheuRaxO1O 3NwD/fu4EE+gVXqYYKFPfFuMDJacYBw3uFNrtCLAmI8Wl9lpfkxIEBxwoe2+GdPr0QtbNY UvmR4TTp5311OvJFH2pgkJzCidtn5p3EnZbb1lOM+weMn4FzwZ/M5Ql7nZiVzhCXTWaThg Fx943TdDNiIY3Z1Pf0KzFZxu6kajT0RiMiplr/KHuzg1ksk1anAEYqVYc+KR7YtijpJ+cY AXAr4EXSAqUDFa8MhuQkg4XLYTOajIldfM/3DgC/uUUr48ctgO9LOsJBeuVkqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676313538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GB+cz7gGDQn35MZE5O7wZDpHLW/9gwCvB+99bQ0f3fM=; b=CdknYLYRPTiqUIwZqag1q9fxHik0nS8v6v8CxDVCZ6+OtjsVhLQwcaEz4zvKB3dzUh8pce ++nPBahvLJHwmGFJXJ94t28OOhBcoXzkBBPjZXUTEYOH1qsVhne+RzPmypiR4Hx7koA/SX fb1zypJju7FvLKp2OQilgydCvIytbP/jljvFys7snnA6iMLileoYa0b8r1rVyyGsW5+N1t yPXnzA7TvHq1me65i+1A8AxbtVYeIiraPSNQGW8A1i8VbJ4m67Pe/s+bVkjXgwwTu/808s siekS2En37zgy1s8oGDz8lgviUqidUkhD+RVRQwFDqCVkeKWSN4brrb+5PS2uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676313538; a=rsa-sha256; cv=none; b=PeWBIohJ51owBOmUhleNuLG/l4pGJulUyQP6Qp4GsJ8U8+n2jTaoxuESeCVakZzpZuZ7St 50ZydUOYUa9jsbJtfpULnZVfwphRJI6peryQiZNlXneAnxkYSaPYVk/D9mceE9j4rOvBqy D6qjBljFyN6dNutoxqHa/yLFJJMjm/cHwRVfEXukYs3j/hQ8W6LHbC3smhQlICuQ9y+0DV O15wSWJ5e1qgguPeAIrYqNiluFCXsv/HW9ZR7wihm1ihaJu8WJHXzmbxacb+4wWa5XVisG Nw5SBEvFNGzWP6/KaqeZvPKg1CDE/GaJ6ZMDnKNA4mnSFPZrFM9YML78R5zbWg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFtQn746czSjs; Mon, 13 Feb 2023 18:38:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31DIcvn2041103; Mon, 13 Feb 2023 18:38:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DIcvtP041102; Mon, 13 Feb 2023 18:38:57 GMT (envelope-from git) Date: Mon, 13 Feb 2023 18:38:57 GMT Message-Id: <202302131838.31DIcvtP041102@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 5173c996bc83 - main - psm: ansify List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5173c996bc835988a903d23ad384429e815c7042 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5173c996bc835988a903d23ad384429e815c7042 commit 5173c996bc835988a903d23ad384429e815c7042 Author: Mateusz Guzik AuthorDate: 2023-02-13 18:38:49 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-13 18:38:49 +0000 psm: ansify Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/atkbdc/psm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 97bf1b859dd2..a308cc81cd3a 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -7395,9 +7395,8 @@ found: * All values should be numbers derived from getmicrouptime(). */ static int -timeelapsed(start, secs, usecs, now) - const struct timeval *start, *now; - int secs, usecs; +timeelapsed(const struct timeval *start, int secs, int usecs, + const struct timeval *now) { struct timeval snow, tv;