linux/drivers/input/misc
Shen Lichuan b7ffc98a6a Input: wistron_btns - use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication
and possible overflows.

Using kmemdup_array() is more appropriate and makes the code
easier to audit.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://lore.kernel.org/r/20240826045253.3503-1-shenlichuan@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-08-26 10:22:00 -07:00
..
88pm80x_onkey.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
88pm860x_onkey.c
Kconfig
Makefile
ab8500-ponkey.c
ad714x-i2c.c
ad714x-spi.c
ad714x.c
ad714x.h
adxl34x-i2c.c Input: adxl34x - switch to using managed resources 2024-06-11 11:17:44 -07:00
adxl34x-spi.c Input: adxl34x - switch to using managed resources 2024-06-11 11:17:44 -07:00
adxl34x.c Input: adxl34x - switch to using "guard" notation 2024-06-11 11:17:52 -07:00
adxl34x.h Input: adxl34x - switch to using managed resources 2024-06-11 11:17:44 -07:00
apanel.c
ariel-pwrbutton.c
arizona-haptics.c
atc260x-onkey.c
ati_remote2.c Input: ati-remote2 - use driver core to instantiate device attributes 2024-07-12 17:15:38 -07:00
atlas_btns.c
atmel_captouch.c
axp20x-pek.c
bma150.c
cm109.c
cma3000_d0x.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
cma3000_d0x.h
cma3000_d0x_i2c.c
cobalt_btns.c
cpcap-pwrbutton.c
da7280.c
da9052_onkey.c
da9055_onkey.c
da9063_onkey.c
drv260x.c
drv2665.c
drv2667.c
e3x0-button.c
gpio-beeper.c
gpio-vibra.c
gpio_decoder.c
hisi_powerkey.c
hp_sdc_rtc.c
ibm-panel.c
ideapad_slidebar.c
ims-pcu.c Input: ims-pcu - switch to using cleanup functions 2024-06-20 14:57:08 -07:00
iqs269a.c Input: iqs269a - use device_for_each_child_node_scoped() 2024-07-15 16:45:52 -07:00
iqs626a.c
iqs7222.c
keyspan_remote.c
kxtj9.c
m68kspkr.c
max8925_onkey.c
max8997_haptic.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
max77650-onkey.c
max77693-haptic.c
mc13783-pwrbutton.c
mma8450.c
nxp-bbnsm-pwrkey.c Input: bbnsm_pwrkey - fix missed key press after suspend 2024-07-15 21:39:55 -07:00
palmas-pwrbutton.c
pcap_keys.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
pcf8574_keypad.c
pcf50633-input.c
pcspkr.c
pm8xxx-vibrator.c
pm8941-pwrkey.c
pmic8xxx-pwrkey.c
powermate.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
pwm-beeper.c
pwm-vibra.c
rave-sp-pwrbutton.c
rb532_button.c
regulator-haptic.c
retu-pwrbutton.c
rk805-pwrkey.c
rotary_encoder.c
rt5120-pwrkey.c
sc27xx-vibra.c
sgi_btns.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
soc_button_array.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
sparcspkr.c
stpmic1_onkey.c
tps65218-pwrbutton.c
tps65219-pwrbutton.c
twl4030-pwrbutton.c Input: twl4030-pwrbutton - fix kernel-doc warning 2024-07-11 09:57:58 -07:00
twl4030-vibra.c
twl6040-vibra.c
uinput.c Input: misc - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:01 -07:00
wistron_btns.c Input: wistron_btns - use kmemdup_array instead of kmemdup for multiple allocation 2024-08-26 10:22:00 -07:00
wm831x-on.c
xen-kbdfront.c
yealink.c Input: yealink - simplify locking in sysfs attribute handling 2024-07-12 17:15:45 -07:00
yealink.h