aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2021-04-04 22:29:37 +0000
committerTejun Heo <[email protected]>2021-04-04 22:29:37 +0000
commitdd3f4e4972f146a685930ccfed95e4e1d13d952a (patch)
tree9f59f5bbf795db46372b63d39c49a8b12004743b /drivers/gpu/drm/lima/lima_devfreq.c
parentsvm/sev: Register SEV and SEV-ES ASIDs to the misc controller (diff)
downloadkernel-dd3f4e4972f146a685930ccfed95e4e1d13d952a.tar.gz
kernel-dd3f4e4972f146a685930ccfed95e4e1d13d952a.zip
cgroup: misc: mark dummy misc_cg_res_total_usage() static inline
The dummy implementation was missing static inline triggering the following compile warning on llvm. In file included from arch/x86/kvm/svm/sev.c:17: >> include/linux/misc_cgroup.h:98:15: warning: no previous prototype for function 'misc_cg_res_total_usage' [-Wmissing-prototypes] unsigned long misc_cg_res_total_usage(enum misc_res_type type) ^ include/linux/misc_cgroup.h:98:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned long misc_cg_res_total_usage(enum misc_res_type type) ^ static 1 warning generated. Add it. Signed-off-by: Tejun Heo <[email protected]> Reported-by: kernel test robot <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions