mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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>
This commit is contained in:
parent
3a7def187d
commit
6a620bb2f4
38 changed files with 401 additions and 433 deletions
Loading…
Add table
Add a link
Reference in a new issue