selinux: Use 1UL for EBITMAP_BIT to match maps type
authorCanfeng Guo <guocanfeng@uniontech.com>
Sat, 29 Jun 2024 04:10:12 +0000 (12:10 +0800)
committerPaul Moore <paul@paul-moore.com>
Tue, 2 Jul 2024 15:41:05 +0000 (11:41 -0400)
commite123134b39dc40af94e8aec49227ae55b5e087a8
treeae093a1e475f1eee096c74bd0153e35206f9cb3a
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
selinux: Use 1UL for EBITMAP_BIT to match maps type

This patch modifies the definition of EBITMAP_BIT in
security/selinux/ss/ebitmap.h from 1ULL to 1UL to match the type
of elements in the ebitmap_node maps array.

This change does not affect the functionality or correctness of
the code but aims to enhance code quality by adhering to good
programming practices and avoiding unnecessary type conversions.

Signed-off-by: Canfeng Guo <guocanfeng@uniontech.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/ebitmap.h