bpf,token: Use BIT_ULL() to convert the bit mask
authorHaiyue Wang <haiyue.wang@intel.com>
Sat, 27 Jan 2024 13:48:56 +0000 (21:48 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 30 Jan 2024 04:04:55 +0000 (20:04 -0800)
commit6668e818f960b0f32110a9efa7c97351a5771b35
treee0d8c6487fd080914d48eababd5bfb1f38a9f049
parentff2071a7b7fd77908417603c4a785822939b3841
bpf,token: Use BIT_ULL() to convert the bit mask

Replace the '(1ULL << *)' with the macro BIT_ULL(nr).

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240127134901.3698613-1-haiyue.wang@intel.com
kernel/bpf/token.c