aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLouis Chauvet <[email protected]>2025-04-29 08:36:23 +0000
committerLouis Chauvet <[email protected]>2025-06-23 08:12:44 +0000
commitfb721b2c35b1829b8ecf62e3adb41cf30260316a (patch)
tree8836022f96ef0362d227d97a0052da26bcc5b4bc /lib/crypto/mpi/mpi-cmp.c
parentdrm/etnaviv: Protect the scheduler's pending list with its lock (diff)
downloadkernel-fb721b2c35b1829b8ecf62e3adb41cf30260316a.tar.gz
kernel-fb721b2c35b1829b8ecf62e3adb41cf30260316a.zip
drm: writeback: Fix drm_writeback_connector_cleanup signature
The drm_writeback_connector_cleanup have the signature: static void drm_writeback_connector_cleanup( struct drm_device *dev, struct drm_writeback_connector *wb_connector) But it is stored and used as a drmres_release_t typedef void (*drmres_release_t)(struct drm_device *dev, void *res); While the current code is valid and does not produce any warning, the CFI runtime check (CONFIG_CFI_CLANG) can fail because the function signature is not the same as drmres_release_t. In order to fix this, change the function signature to match what is expected by drmres_release_t. Fixes: 1914ba2b91ea ("drm: writeback: Create drmm variants for drm_writeback_connector initialization") Suggested-by: Mark Yacoub <[email protected]> Reviewed-by: MaĆ­ra Canal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Louis Chauvet <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions