From nobody Tue Apr 25 17:59:15 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 4Q5VBC4cyZz46VqW; Tue, 25 Apr 2023 17:59:15 +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 4Q5VBC3yNJz47p9; Tue, 25 Apr 2023 17:59:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682445555; 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=xT4isXeRy5kBDJJNCsm8D1gPBfOj/4DsnOVKleLjYMc=; b=GzQR5kCqyP+29re37Bfb549IycYMwG6pKf1Ko/WmhfdxXi2ak6mTmMEkkzO3FXQXiZfjO8 2AYeFyPaxupnqKE1MkDiqlvorEXvyVhMx2BTjaKDtbdWUyKELJNjugUTCZBySZRDOIccPr KZM9K3H4779xKb0PcvRoqhxeIowZGVNPk9T87qmMgZeqUcIu/Nq+cHwzaX85ZHMw/XT1gZ LZf9P7jBzwdo5fP1XAzLN1b9B04ABc2bz4nJZxNkOWD2+5M3xuYHcN7esX7LVIZvEfwTra SjAubIK5lSxB/QLHX/fAJtGRG1bjc7XaLFwgd1IWwA9PYWBiEKPzT41lIGbYqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682445555; 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=xT4isXeRy5kBDJJNCsm8D1gPBfOj/4DsnOVKleLjYMc=; b=adAUPzjwRXG+t/KSMJjlNju+sXWXOzW3jhH9vSdCbzJB+7r6nJfswYHF6TR4TKhgJHFGA1 g6tLfh88vNfg0LYppRAKI8XUtrr4+NAn0A+E/ReXN4JF4XhhWN3KavetzKRXGmJByfsmtg fJXTCpdhHeFZ9k+54yj/3Vnqw4Pr+F8j6YKM3GmsGE3ANMqaDnkewkl+90Eza3pUUOk8uN 1bOOWQQqENFKsB96m1q0s7/ek59638pW12sdcUfZxWFBBj5HokwP0ls5/c9YeOWMvf/tIa 5UQzSPb1kmMRT9mAWnbdKwUVMdSESavrE2BEosqCzVNznfWvYgb4zf7bNzaw2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682445555; a=rsa-sha256; cv=none; b=UBDVcaAbOFNfn5F9CjGUVxikQ+E4el4G+OoGUUQ7CYb/t3QCGXgQFvWX2ZVX03OrUIJ9C8 nEa6sYXlZ9nmrdL5+imT4vj9653udVilDIXnviuP6RU/dVT+rRNs/xqHLg3QTkDtocRQ+P 2lQFzPvxPrF6XCwgxNf9dTj+D8TTle/30b9bgPvFEZDc333G30ZtqIUcfvPpUFnsY800ap lmUuu/fQzWLSC73C9Qwq4kKARIspVV2ZtIyBuLDYhC84SYvIddoVl6wE9FPfYp4Y3v539e W9uKQfdrug3ZkNRklJo2KgWrHecc0LBiQnAG0Ciq43YADWHPMjb532bZM/3Kag== 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 4Q5VBC32R6z1Gxk; Tue, 25 Apr 2023 17:59:15 +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 33PHxFwT078885; Tue, 25 Apr 2023 17:59:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PHxFSg078884; Tue, 25 Apr 2023 17:59:15 GMT (envelope-from git) Date: Tue, 25 Apr 2023 17:59:15 GMT Message-Id: <202304251759.33PHxFSg078884@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 3029b0b0e9d6 - main - boolean_t: change to unsigned int to avoid signed bitfield warnings 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: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835 commit 3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835 Author: Dimitry Andric AuthorDate: 2023-04-25 17:52:40 +0000 Commit: Dimitry Andric CommitDate: 2023-04-25 17:58:18 +0000 boolean_t: change to unsigned int to avoid signed bitfield warnings This is the final part, which actually makes boolean_t unsigned. Note that we do not change its size, nor do we try to change it directly to bool, since that results in a lot of regressions. Converting the remaining instances of boolean_t to plain C99 bool can now be done in a piecemeal fashion, after which boolean_t may hopefully be retired. MFC after: 1 week Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D39753 --- sys/sys/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index 5db5679b11b5..0846f2a57670 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -273,7 +273,7 @@ typedef __rman_res_t rman_res_t; typedef __register_t syscallarg_t; #ifdef _KERNEL -typedef int boolean_t; +typedef unsigned int boolean_t; typedef struct _device *device_t; typedef __intfptr_t intfptr_t;