Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2021 13:11:37 GMT
From:      =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5650d340ad66 - main - sys/cpuset.h: fix macro definition
Message-ID:  <202112311311.1BVDBbYR044008@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=5650d340ad66a47fb8ea182c7057a2d07806ca7e

commit 5650d340ad66a47fb8ea182c7057a2d07806ca7e
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-12-31 13:09:44 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2021-12-31 13:09:44 +0000

    sys/cpuset.h: fix macro definition
    
    The _s parameter was missing in the paramater list.
    
    Reported by:    gljennjohn at gmail.com (Gary Jennejohn)
---
 sys/sys/cpuset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h
index 5841fa37f28a..0ce470d5f569 100644
--- a/sys/sys/cpuset.h
+++ b/sys/sys/cpuset.h
@@ -90,7 +90,7 @@
 #define	CPU_XOR_S(_s, d, s1, s2)	__BIT_XOR2(_s, d, s1, s2)
 
 #define	CPU_COUNT_S(_s, p)		((int)__BIT_COUNT(_s, p))
-#define	CPU_EQUAL_S(p, c)		(__BIT_CMP(_s, p, c) == 0)
+#define	CPU_EQUAL_S(_s, p, c)		(__BIT_CMP(_s, p, c) == 0)
 #endif
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112311311.1BVDBbYR044008>