Subject: [PATCH] padata: Remove comment for reorder_work

From: Herbert Xu <[email-masked]>
Date: Mon, 16 Jun 2025 16:38:49 +0800

On Mon, Jun 16, 2025 at 03:31:34PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the crypto tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> include/linux/padata.h:104: warning: Excess struct member 'reorder_work' description in 'parallel_data'
> 
> Introduced by commit
> 
>   71203f68c774 ("padata: Fix pd UAF once and for all")

Thanks for the report Stephen!

---8<---
Remove comment for reorder_work which no longer exists.

Reported-by: Stephen Rothwell <[email-masked]>
Fixes: 71203f68c774 ("padata: Fix pd UAF once and for all")
Signed-off-by: Herbert Xu <[email-masked]>

diff --git a/include/linux/padata.h b/include/linux/padata.h
index b486c7359de2..765f2778e264 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -90,7 +90,6 @@ struct padata_cpumask {
  * @processed: Number of already processed objects.
  * @cpu: Next CPU to be processed.
  * @cpumask: The cpumasks in use for parallel and serial workers.
- * @reorder_work: work struct for reordering.
  */
 struct parallel_data {
 	struct padata_shell		*ps;
-- 
Email: Herbert Xu <[email-masked]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt