aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-belkin.c
diff options
context:
space:
mode:
authorJiri Kosina <[email protected]>2023-01-06 14:49:55 +0000
committerJiri Kosina <[email protected]>2023-01-06 14:49:55 +0000
commitf1f73651a0849c26b735e7cc1543fa650162b51c (patch)
tree50dc9ae0c2605ca1d2c16038359cf4405db60fbe /drivers/hid/hid-belkin.c
parentIIO: hid-sensor-prox: Use generic usage (diff)
downloadkernel-f1f73651a0849c26b735e7cc1543fa650162b51c.tar.gz
kernel-f1f73651a0849c26b735e7cc1543fa650162b51c.zip
HID: hid-sensor-custom: Fix big on-stack allocation in hid_sensor_custom_get_known()
struct hid_sensor_custom_properties is currently 384 bytes big, which consumes too much stack space for no good reason. Make it dynamically allocated. Fixes: 98c062e824519 ("HID: hid-sensor-custom: Allow more custom iio sensors") Reported-by: kernel test robot <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/hid/hid-belkin.c')
0 files changed, 0 insertions, 0 deletions