diff options
| author | Martin Kaiser <[email protected]> | 2022-03-19 19:03:42 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:45 +0200 |
| commit | eb563e69877abc956911ff2d74f5697a5b0ea9d9 (patch) | |
| tree | b73e4084b5d09986ea1c07f3165a9f5e7afd45a8 /tools/perf/scripts/python/flamegraph.py | |
| parent | 84ef256550196bc06e6849a34224c998b45bd557 (diff) | |
staging: r8188eu: remove local BIT macro
The r8188eu driver defines a local BIT(x) macro. Remove this local macro
and use the one from include/linux/bits.h.
The global BIT macro returns an unsigned long value, the removed local
BIT macro used a signed int.
DYNAMIC_BB_DYNAMIC_TXPWR is defined as BIT(2), ~DYNAMIC_BB_DYNAMIC_TXPWR
is passed to Switch_DM_Func as a u32 parameter. We need a cast in this
case as ~DYNAMIC_BB_DYNAMIC_TXPWR is a 64-bit value on x86_64 systems.
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions