From nobody Thu May 09 23:20:47 2024 X-Original-To: dev-commits-src-main@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 4Vb7Kr06Ykz5KGYf; Thu, 09 May 2024 23:20:48 +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 4Vb7Kq2bx4z44MC; Thu, 9 May 2024 23:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715296847; 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=d9vleVoPXhvLyclU/y4LYUocjv0jLSkvxCaI2eI83cg=; b=USpu361QzT7aFfiVAdNaSpFVJXBKQ5x/lSpDxglMSgyxDin/dIDe4tLQw0nE+Qh/YWwQbm ly8/W3phXUzbsS2YHEN24uPE5zsvceLOS1+NN76iW5Mz9NXCL6EV87O6kBLlzox5eLXgzL qUwOyQkjtb1rWT6jys/hkMat07vHP6rzQCv6agmjhcIAQM6BWKLlO92EPDAlmUvjFkgH0D 7y2Dyrm3YfE4jGEdRMA44fO8SwZ6O/A37fGuErJy+NL//a4j7KR7sdKYxYuO89CZWDO+uQ dNUnvHaXZR9Ty1lYsATBuuCqgKI0P1u21w3qM9/uLpbJX+KXWZAzSASaDF1pNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715296847; a=rsa-sha256; cv=none; b=FGCdm4Eq6YKqTeJWkHdxg+6C2Dm5sVKBKj2npC47LHk/Ms8HiQaY6hA3tMoOfV78HyXroy cA3MdJglqKHU4M5PjQN1rsPMmdBTWxSgxXrGkwwcoDHTyWdKjQ4NvOC8xbFBoejfRad7lQ MaCxIdEmldlGjMb53nEEBwicIEb/tru4FRoR6e0u/F43KdaMcAfnV61+dNHeMQAqQtI3nh pgHD8KXiDoE4RQHfVcEsGIXDdYh0tu4aJBqzTxVn5RZYyCwGhP5/GaorZsbX3CrafavGNY PFkHkjKANHBhIExKP0CyXWLMclF0QHeCMaoa194c50nLs4C4KoPetCPG2Vtpsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715296847; 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=d9vleVoPXhvLyclU/y4LYUocjv0jLSkvxCaI2eI83cg=; b=LdrN5CwEvbQHTQTKWDkpMKakAdHcDDz3PgT/gYcBJIucopLS7oH+l2W8YmpO0Ul7SNpOGA hpnqgIa3AWOuF6uR3XU1laZc1xyGdL6Q6UzSxJyF30CQG/iI0yxarS+IiwLm0GWb4gaKey 24COyBcIkOnmRgD+yPnKrwb5kIRpw1Js47hC27CJ66hk6dkuMUn6ncT5DYWbikk9CvwajQ xH5hUu6A9+B4iXwtr2w6pDvtKZYlEfdxanr34xfUDoVrGcpzxRWmCchMY+eoq/WveDFvPG fAoVSInZcUBXowYSAoRrV8Dh9b3MRrXu8vFlQsSAUu6Ij5Omel1NYln33ug6DA== 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 4Vb7Kq2BmLz1RlN; Thu, 9 May 2024 23:20:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 449NKlsI057666; Thu, 9 May 2024 23:20:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 449NKlIt057663; Thu, 9 May 2024 23:20:47 GMT (envelope-from git) Date: Thu, 9 May 2024 23:20:47 GMT Message-Id: <202405092320.449NKlIt057663@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 9f3a552f9e1a - main - intrng: switch flag arguments to unsigned List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e commit 9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e Author: Elliott Mitchell AuthorDate: 2024-05-09 23:04:35 +0000 Commit: Warner Losh CommitDate: 2024-05-09 23:14:38 +0000 intrng: switch flag arguments to unsigned The flag variables behind these are all unsigned. As such adjust the declarations to match reality and reduce the number of mismatches. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1126 --- sys/kern/subr_intr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/kern/subr_intr.c b/sys/kern/subr_intr.c index 5958f9025b27..210989868415 100644 --- a/sys/kern/subr_intr.c +++ b/sys/kern/subr_intr.c @@ -149,7 +149,7 @@ static bool intr_ipi_dev_frozen; static struct mtx pic_list_lock; static SLIST_HEAD(, intr_pic) pic_list; -static struct intr_pic *pic_lookup(device_t dev, intptr_t xref, int flags); +static struct intr_pic *pic_lookup(device_t dev, intptr_t xref, u_int flags); /* Interrupt source definition. */ static struct mtx isrc_table_lock; @@ -744,7 +744,7 @@ isrc_add_handler(struct intr_irqsrc *isrc, const char *name, * Lookup interrupt controller locked. */ static inline struct intr_pic * -pic_lookup_locked(device_t dev, intptr_t xref, int flags) +pic_lookup_locked(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -775,7 +775,7 @@ pic_lookup_locked(device_t dev, intptr_t xref, int flags) * Lookup interrupt controller. */ static struct intr_pic * -pic_lookup(device_t dev, intptr_t xref, int flags) +pic_lookup(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -789,7 +789,7 @@ pic_lookup(device_t dev, intptr_t xref, int flags) * Create interrupt controller. */ static struct intr_pic * -pic_create(device_t dev, intptr_t xref, int flags) +pic_create(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -818,7 +818,7 @@ pic_create(device_t dev, intptr_t xref, int flags) * Destroy interrupt controller. */ static void -pic_destroy(device_t dev, intptr_t xref, int flags) +pic_destroy(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic;