aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2021-04-06 17:29:01 +0000
committerShuah Khan <[email protected]>2021-04-06 21:22:39 +0000
commitf65968ac191bd5f31091ff132191bf2ce3aed6c8 (patch)
tree9fed2ec641a5b041ec84e0c3c6db0195a231e948 /drivers/gpu/drm/lima/lima_devfreq.c
parentkunit: support failure from dynamic analysis tools (diff)
downloadkernel-f65968ac191bd5f31091ff132191bf2ce3aed6c8.tar.gz
kernel-f65968ac191bd5f31091ff132191bf2ce3aed6c8.zip
kunit: fix -Wunused-function warning for __kunit_fail_current_test
When CONFIG_KUNIT is not enabled, __kunit_fail_current_test() an empty static function. But GCC complains about unused static functions, *unless* they're static inline. So add inline to make GCC happy. Fixes: 359a376081d4 ("kunit: support failure from dynamic analysis tools") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions