]> www.infradead.org Git - users/hch/misc.git/commitdiff
cgroup/misc: fix misc_res_type kernel-doc warning
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 17 Oct 2025 07:07:42 +0000 (00:07 -0700)
committerTejun Heo <tj@kernel.org>
Fri, 17 Oct 2025 15:31:56 +0000 (05:31 -1000)
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>
include/linux/misc_cgroup.h

index 71cf5bfc6349d5dc2d2ee139c56b5066ff2bb42a..0cb36a3ffc479891b85d3290dafaec5ec284509a 100644 (file)
@@ -19,7 +19,7 @@ enum misc_res_type {
        MISC_CG_RES_SEV_ES,
 #endif
 #ifdef CONFIG_INTEL_TDX_HOST
-       /* Intel TDX HKIDs resource */
+       /** @MISC_CG_RES_TDX: Intel TDX HKIDs resource */
        MISC_CG_RES_TDX,
 #endif
        /** @MISC_CG_RES_TYPES: count of enum misc_res_type constants */