linux/drivers/platform/surface
Dan Carpenter 366f0a30c8 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: c167b9c7e3 ("platform/surface: Add Surface Aggregator subsystem")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/YH6UUhJhGk3mk13b@mwanda
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-04-20 17:28:42 +02:00
..
aggregator platform/surface: aggregator: fix a bit test 2021-04-20 17:28:42 +02:00
Kconfig
Makefile
surface3-wmi.c
surface3_button.c
surface3_power.c
surface_acpi_notify.c
surface_aggregator_cdev.c
surface_aggregator_registry.c
surface_dtx.c
surface_gpe.c
surface_hotplug.c
surface_platform_profile.c
surfacepro3_button.c