kernel_samsung_a53x/drivers/gpu/drm/nouveau/nvkm/subdev/bios
Arnd Bergmann 883ae13426 nouveau: fix function cast warnings
[ Upstream commit 0affdba22aca5573f9d989bcb1d71d32a6a03efe ]

clang-16 warns about casting between incompatible function types:

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

This one was done to use the generic shadow_fw_release() function as a
callback for struct nvbios_source. Change it to use the same prototype
as the other five instances, with a trivial helper function that actually
calls release_firmware.

Fixes: 70c0f263cc2e ("drm/nouveau/bios: pull in basic vbios subdev, more to come later")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240213095753.455062-1-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 22:25:41 +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 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03: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