From nobody Thu Apr 25 09:52:51 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 4VQB433rZCz5HDs4; Thu, 25 Apr 2024 09:52:51 +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 4VQB4339tlz4vMm; Thu, 25 Apr 2024 09:52:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714038771; 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=wHgcntN/y0nScgD9ynSvn9TGHYO830JeAdhQnPXZ2+4=; b=Z2aTuJiSN98XS/l9da964kr2Ve3ju+Z51QQVlOdGtx9nJjkZNIN4rQsJ2m5yErUOmb0kWw gOxch7Uo1H+bo2IqGBpVLKsyJYjTfMl2p3Zue3gTfENxVNlIyICYA+9lkUfJGxV7jG7hMH HJm81M4/745ESTf5oXAsWFkNJlluAsqnvofsMGoZXnj8GoR2kgKzhmozeL/A1NlqvAYOT3 LJyborZt70FwFf8Uv96+mSXFB+WCmUIuPu9QPG4+Akjxd1dCIyKlEtOTwAK6KOtlOxkvRq 1GTKqyOpN5Givwus0QqgYmu1qUFduBU+OOH9Rz9pvtfrzDK1KpdJ6/qG80Wpcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714038771; a=rsa-sha256; cv=none; b=iA75FPJAUTxeUT0ujEcwEa+ffYu5im/bs2RqYXYSFGgBmQ+hbjci59UusDmhjxrixtg8jW 70ArxufbFKqFyuipB1CmEi/xWRViNvmOQbNfrsafb9/DxxgvyeEiDvR5KZY1H755IdAW7U uJVwJnyd/bvqjoGL2ONW8WcPotF08zhFY6qlAMdUNTOdd/URaa0ysiAAyFWO5iUs9zdZXn fhZJCyE0xVKQdw3Mb/MwQpyx+kQdMrOSBfX1tCw2Co63mj4iir3kMKy/JS09I1QoQfB4IV WWlf73POWMUh/ZKCI7inDBkyqWHF5K3IxdB/sc7c/b/nTLeKH2+6Xmz427I+jQ== 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=1714038771; 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=wHgcntN/y0nScgD9ynSvn9TGHYO830JeAdhQnPXZ2+4=; b=A6z9ibfWdc/C1ubE2lt+ThjmObNkhfGQuXI53tTYqGgRvQyUHbILZVj4eS7ZzhSDWf+lfs 0WRY32WBOT9JxSQDibbiqgxe88h0js8UbXr+VcmA98s797mGTbROxh4fDBS5CNpMnAQ/SJ atQ3zjdfWLswJKLuqVkj4IfyoJdexh+gq4SOcHus6+duYKZG//Dl9OddtmmDesJ3RaB3RP si1+HkN5+xZdkrUvVusVDp0SeujRzoy9VJoAInbUDujcEO7gx2j9oSlnhpWmJqwCifKjMB vJvpII7a9Xyx5ZGs3vvJL2AtRIg9ynckUdQqneSq2bF+0BrW5jfWoTv1oTm9jA== 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 4VQB432mrgzv26; Thu, 25 Apr 2024 09:52:51 +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 43P9qpuY053719; Thu, 25 Apr 2024 09:52:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43P9qp61053716; Thu, 25 Apr 2024 09:52:51 GMT (envelope-from git) Date: Thu, 25 Apr 2024 09:52:51 GMT Message-Id: <202404250952.43P9qp61053716@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 42255af64a54 - main - checkstyle9: Allow a space between "*" and _*restrict 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: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 42255af64a5471a2668e3a0552d82639e1f70ee4 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=42255af64a5471a2668e3a0552d82639e1f70ee4 commit 42255af64a5471a2668e3a0552d82639e1f70ee4 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2024-04-23 10:29:02 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-04-25 09:51:25 +0000 checkstyle9: Allow a space between "*" and _*restrict Before the change, we would get errors like this: ERROR: "foo * bar" should be "foo *bar" #369: FILE: foobar.c:369: +barbaz(char * __restrict s, Reviewed by: des, imp Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D44911 --- tools/build/checkstyle9.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl index 7fa02bcabc97..99fd354fbacf 100755 --- a/tools/build/checkstyle9.pl +++ b/tools/build/checkstyle9.pl @@ -202,6 +202,7 @@ our $Sparse = qr{ # Notes to $Attribute: our $Attribute = qr{ const| + _*restrict| volatile| QEMU_NORETURN| QEMU_WARN_UNUSED_RESULT|