kernel_samsung_a53x/drivers/gpu/drm/nouveau/nvkm/subdev/bios
Arnd Bergmann 1cecde0cf1 nouveau: fix function cast warning
[ Upstream commit 185fdb4697cc9684a02f2fab0530ecdd0c2f15d4 ]

Calling a function through an incompatible pointer type causes breaks
kcfi, so clang warns about the assignment:

drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c:73:10: error: cast from 'void (*)(const void *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
   73 |         .fini = (void(*)(void *))kfree,

Avoid this with a trivial wrapper.

Fixes: c39f472e9f14 ("drm/nouveau: remove symlinks, move core/ to nvkm/ (no code changes)")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404160234.2923554-1-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:19 +01:00
..
base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
boost.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
conn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cstep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
disp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
extdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iccsense.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
image.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
M0203.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
M0205.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
M0209.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mxm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
npde.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
P0260.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcir.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power_budget.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
priv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ramcfg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rammap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shadow.c nouveau: fix function cast warnings 2024-11-18 22:25:41 +01:00
shadowacpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shadowof.c nouveau: fix function cast warning 2024-11-19 11:32:19 +01:00
shadowpci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shadowramin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shadowrom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
therm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
timing.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
volt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vpstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00