diff options
| author | Dan Carpenter <[email protected]> | 2021-04-20 08:44:02 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-04-20 15:28:42 +0000 |
| commit | 366f0a30c8a01e79255221539a52909cc4c7bd25 (patch) | |
| tree | 30c278753d0bf9655cc81cd2d6eb76b1150ef7de /lib/dynamic_debug.c | |
| parent | platform/x86: intel_pmc_core: Fix "unsigned 'ret' is never less than zero" sm... (diff) | |
| download | kernel-366f0a30c8a01e79255221539a52909cc4c7bd25.tar.gz kernel-366f0a30c8a01e79255221539a52909cc4c7bd25.zip | |
platform/surface: aggregator: fix a bit test
The "funcs" variable is a u64. If "func" is more than 31 then the
BIT() shift will wrap instead of testing the high bits.
Fixes: c167b9c7e3d6 ("platform/surface: Add Surface Aggregator subsystem")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Maximilian Luz <[email protected]>
Link: https://lore.kernel.org/r/YH6UUhJhGk3mk13b@mwanda
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
