Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit dad8d1a

Browse files
committed
Merge tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
Pull selinux update from Paul Moore: "A single SELinux patch to change the type of a pre-processor constant to better match its use" * tag 'selinux-pr-20240715' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: selinux: Use 1UL for EBITMAP_BIT to match maps type
2 parents f8a8b94 + e123134 commit dad8d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/selinux/ss/ebitmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
sizeof(unsigned long))
3030
#define EBITMAP_UNIT_SIZE BITS_PER_LONG
3131
#define EBITMAP_SIZE (EBITMAP_UNIT_NUMS * EBITMAP_UNIT_SIZE)
32-
#define EBITMAP_BIT 1ULL
32+
#define EBITMAP_BIT 1UL
3333
#define EBITMAP_SHIFT_UNIT_SIZE(x) \
3434
(((x) >> EBITMAP_UNIT_SIZE / 2) >> EBITMAP_UNIT_SIZE / 2)
3535

0 commit comments

Comments
 (0)