]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:10:15 +0000 (14:10 +0100)
[ Upstream commit 0fbbcab7f9082cdc233da5e5e353f69830f11956 ]

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>
Signed-off-by: Sasha Levin <sashal@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 */