Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
staging: rtl8723bs: replace non-standard BITn macros with BIT(n)
Remove the local BIT0-BIT31 macro definitions from osdep_service.h and replace all usages with the kernel's BIT(n) macro from <linux/bitops.h>. NOTE: DYNAMIC_BB_DYNAMIC_TXPWR is defined as BIT2 and used in a bitwise NOT expression. Migrating to BIT(2) causes an -Werror=overflow warning due to the unsigned long result not fitting in u32. This instance has been left unconverted. Compile-tested only. Signed-off-by: Michael Steinmötzger <m.steinmoetzger@gmail.com> Link: https://patch.msgid.link/20260509032202.146240-1-m.steinmoetzger@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Author Michael Steinmötzger Committer Greg Kroah-Hartman Date (May 11, 2026, 8:24 AM UTC) Commit
Copy SHA
Parent 3a7def18 3a7def187dcd8b004c99dc00b7b8e40072eefe7e