mirror of
https://github.com/torvalds/linux.git
synced 2026-11-12 20:54:48 +01:00
This is another run of the Coccinelle script for converting kmalloc() family of allocations to kmalloc_obj() via the existing rules in scripts/coccinelle/api/kmalloc_objs.cocci This catches both the set of kmalloc() uses added since the first kmalloc_obj() conversions in v7.0 and adds a large group missed in the first pass due to Coccinelle not interacting well with the cleanup.h scoped_...() family of macros[1]. I worked around this with spatch's "--macro-file" argument to a file with all the scoped_...() macros mapped to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control flow indicator I could find. Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc, riscv, and s390 with no new warnings. Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1] Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2] Signed-off-by: Kees Cook <kees+treewide@kernel.org> |
||
|---|---|---|
| .. | ||
| 88pm80x_onkey.c | ||
| 88pm860x_onkey.c | ||
| 88pm886-onkey.c | ||
| ab8500-ponkey.c | ||
| ad714x-i2c.c | ||
| ad714x-spi.c | ||
| ad714x.c | ||
| ad714x.h | ||
| adxl34x-i2c.c | ||
| adxl34x-spi.c | ||
| adxl34x.c | ||
| adxl34x.h | ||
| amd_sfh_tabletmode.c | ||
| apanel.c | ||
| ariel-pwrbutton.c | ||
| arizona-haptics.c | ||
| atc260x-onkey.c | ||
| ati_remote2.c | ||
| atlas_btns.c | ||
| atmel_captouch.c | ||
| aw86927.c | ||
| axp20x-pek.c | ||
| bma150.c | ||
| cm109.c | ||
| cma3000_d0x_i2c.c | ||
| cma3000_d0x.c | ||
| cma3000_d0x.h | ||
| cobalt_btns.c | ||
| cpcap-pwrbutton.c | ||
| cs40l50-vibra.c | ||
| da7280.c | ||
| da9052_onkey.c | ||
| da9055_onkey.c | ||
| da9063_onkey.c | ||
| drv260x.c | ||
| drv2665.c | ||
| drv2667.c | ||
| e3x0-button.c | ||
| gpio_decoder.c | ||
| gpio-beeper.c | ||
| gpio-vibra.c | ||
| hisi_powerkey.c | ||
| hp_sdc_rtc.c | ||
| ibm-panel.c | ||
| ideapad_slidebar.c | ||
| ims-pcu.c | ||
| iqs269a.c | ||
| iqs626a.c | ||
| iqs7222.c | ||
| isa1200.c | ||
| Kconfig | ||
| keyspan_remote.c | ||
| kxtj9.c | ||
| m68kspkr.c | ||
| Makefile | ||
| max7360-rotary.c | ||
| max8925_onkey.c | ||
| max8997_haptic.c | ||
| max77650-onkey.c | ||
| max77693-haptic.c | ||
| mc13783-pwrbutton.c | ||
| mma8450.c | ||
| nxp-bbnsm-pwrkey.c | ||
| palmas-pwrbutton.c | ||
| pcf8574_keypad.c | ||
| pcspkr.c | ||
| pf1550-onkey.c | ||
| pm8xxx-vibrator.c | ||
| pm8941-pwrkey.c | ||
| pmic8xxx-pwrkey.c | ||
| powermate.c | ||
| pwm-beeper.c | ||
| pwm-vibra.c | ||
| qnap-mcu-input.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 | ||
| soc_button_array.c | ||
| sparcspkr.c | ||
| stpmic1_onkey.c | ||
| tps6594-pwrbutton.c | ||
| tps65218-pwrbutton.c | ||
| tps65219-pwrbutton.c | ||
| twl4030-pwrbutton.c | ||
| twl4030-vibra.c | ||
| twl6040-vibra.c | ||
| uinput.c | ||
| wistron_btns.c | ||
| wm831x-on.c | ||
| xen-kbdfront.c | ||
| yealink.c | ||
| yealink.h | ||