diff options
| author | Michael Steinmötzger <m.steinmoetzger@gmail.com> | 2026-05-09 05:22:02 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-11 10:24:31 +0200 |
| commit | 6a620bb2f4c1b40d9240b86bfc8e893eec876c8b (patch) | |
| tree | eb70267bc65602d4b6a275c07d0de0de02946255 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 3a7def187dcd8b004c99dc00b7b8e40072eefe7e (diff) | |
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>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
