1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/include
Tejun Heo dd3f4e4972 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 <tj@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
2021-04-04 18:29:37 -04:00
..
acpi ACPI: scan: Use unique number for instance_no 2021-03-22 17:45:53 +01:00
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux cgroup: misc: mark dummy misc_cg_res_total_usage() static inline 2021-04-04 18:29:37 -04:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
scsi scsi: iscsi: Fix race condition between login and sync thread 2021-03-29 21:17:45 -04:00
soc
sound
target
trace
uapi block-5.12-2021-04-02 2021-04-02 16:13:13 -07:00
vdso
video
xen