aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-02-13 11:17:49 +0100
committerGreg Kroah-Hartman <[email protected]>2024-02-17 17:44:52 +0100
commit42af6bcbc351d544889fcbcfc9c3d4bd39191b7d (patch)
tree266cb2f9ca627e61dcb02bdab5eb718129f16b4d /tools/perf/scripts/python/exported-sql-viewer.py
parent8524788abf564fb7927873ff3fbc8056c6f02195 (diff)
tty: hvc-iucv: fix function pointer casts
clang warns about explicitly casting between incompatible function pointers: drivers/tty/hvc/hvc_iucv.c:1100:23: error: cast from 'void (*)(const void *)' to 'void (*)(struct device *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict] 1100 | priv->dev->release = (void (*)(struct device *)) kfree; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add a separate function to handle this correctly. Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions