mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cgroup/misc: fix misc_res_type kernel-doc warning
@ 2025-10-17  7:07 Randy Dunlap
  2025-10-17 15:32 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2025-10-17  7:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Zhiming Hu, Isaku Yamahata, Paolo Bonzini,
	Tejun Heo, Johannes Weiner, Michal Koutný,
	cgroups

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>
---
Cc: Zhiming Hu <zhiming.hu@intel.com>
Cc: Isaku Yamahata <isaku.yamahata@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Koutný <mkoutny@suse.com>
Cc: cgroups@vger.kernel.org
---
 include/linux/misc_cgroup.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20251016.orig/include/linux/misc_cgroup.h
+++ linux-next-20251016/include/linux/misc_cgroup.h
@@ -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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cgroup/misc: fix misc_res_type kernel-doc warning
  2025-10-17  7:07 [PATCH] cgroup/misc: fix misc_res_type kernel-doc warning Randy Dunlap
@ 2025-10-17 15:32 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2025-10-17 15:32 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Zhiming Hu, Isaku Yamahata, Paolo Bonzini,
	Johannes Weiner, Michal Koutný,
	cgroups

On Fri, Oct 17, 2025 at 12:07:42AM -0700, Randy Dunlap wrote:
> 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>

Applied to cgroup/for-6.18-fixes.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-17 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-17  7:07 [PATCH] cgroup/misc: fix misc_res_type kernel-doc warning Randy Dunlap
2025-10-17 15:32 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®