linux/drivers/gpu/drm/amd/display/dc/gpio
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
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>
2026-09-04 21:37:00 -07:00
..
dce60 drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
dce80 drm/amd/display: Cleaned up headers 2026-07-01 11:34:22 -04:00
dce110 drm/amd/display: remove duplicate include in dcn21 and gpio 2021-03-23 23:03:32 -04:00
dce120 drm: amd/display: fix spelling of "function" 2020-09-15 17:52:42 -04:00
dcn10 drm/amd/display: convert dcn10 GPIO translation to lookup tables 2026-07-01 11:18:49 -04:00
dcn20 drm/amd/display: convert dcn20 GPIO translation to lookup tables 2026-07-01 11:18:53 -04:00
dcn21 drm/amd/display: convert dcn21 GPIO translation to lookup tables 2026-07-01 11:18:56 -04:00
dcn30 drm/amd/display: convert dcn30 GPIO translation to lookup tables 2026-07-01 11:18:57 -04:00
dcn32 drm/amd/display: convert dcn32 GPIO translation to lookup tables 2026-07-01 11:19:01 -04:00
dcn42 drm/amd/display: convert dcn42 GPIO translation to lookup tables 2026-07-01 11:19:06 -04:00
dcn42b drm/amd/display: Add DCN42B DC resource files 2026-06-03 13:43:52 -04:00
dcn60 drm/amd/display: Add new sources for DCN6 2026-08-06 09:48:29 -04:00
dcn315 drm/amd/display: convert dcn315 GPIO translation to lookup tables 2026-07-01 11:19:00 -04:00
dcn401 drm/amd/display: convert dcn401 GPIO translation to lookup tables 2026-07-01 11:19:04 -04:00
ddc_regs.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
generic_regs.h drm/amd/display: Implement generic MUX registers (v2) 2019-07-18 14:27:24 -05:00
gpio_base.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
gpio_regs.h
gpio_service.c drm/amd/display: Allow embedded connectors without DDC 2026-04-29 10:25:33 -04:00
gpio_service.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hpd_regs.h drm/amd/dc: Clean up errors in hpd_regs.h 2023-08-09 09:42:51 -04:00
hw_ddc.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
hw_ddc.h drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hw_factory.c drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hw_factory.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_generic.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
hw_generic.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_gpio.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
hw_gpio.h drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
hw_hpd.c drm/amd/display: Fix implicit narrowing conversion warnings 2026-04-17 15:41:15 -04:00
hw_hpd.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hw_translate.c drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
hw_translate.h drm/amd/display: add GPIO HW translation helpers 2026-07-01 11:18:45 -04:00
Makefile drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00