Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cgroup/misc: fix misc_res_type kernel-doc warning

Format the kernel-doc for SCALE_HW_CALIB_INVALID correctly to
avoid a kernel-doc warning:

Warning: include/linux/misc_cgroup.h:26 Enum value
'MISC_CG_RES_TDX' not described in enum 'misc_res_type'

Fixes: 7c035bea9407 ("KVM: TDX: Register TDX host key IDs to cgroup misc controller")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Randy Dunlap and committed by
Tejun Heo
0fbbcab7 4cdde87d

+1 -1
+1 -1
include/linux/misc_cgroup.h
··· 19 19 MISC_CG_RES_SEV_ES, 20 20 #endif 21 21 #ifdef CONFIG_INTEL_TDX_HOST 22 - /* Intel TDX HKIDs resource */ 22 + /** @MISC_CG_RES_TDX: Intel TDX HKIDs resource */ 23 23 MISC_CG_RES_TDX, 24 24 #endif 25 25 /** @MISC_CG_RES_TYPES: count of enum misc_res_type constants */