summaryrefslogtreecommitdiff
path: root/drivers/accel/ivpu
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-04 19:02:25 +0300
committerDanilo Krummrich <dakr@redhat.com>2024-04-05 19:30:29 +0300
commit185fdb4697cc9684a02f2fab0530ecdd0c2f15d4 (patch)
tree61be904ec2d9cc90520b7c593bd18f4aa55f5e98 /drivers/accel/ivpu
parent838ae9f45c4e43b4633d8b0ad1fbedff9ecf177d (diff)
downloadlinux-185fdb4697cc9684a02f2fab0530ecdd0c2f15d4.tar.xz
nouveau: fix function cast warning
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
Diffstat (limited to 'drivers/accel/ivpu')
0 files changed, 0 insertions, 0 deletions