]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
hwrng: core - avoid kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 12 Mar 2026 05:13:23 +0000 (22:13 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 22 Mar 2026 02:17:59 +0000 (11:17 +0900)
Mark internal fields as "private:" so that kernel-doc comments
are not needed for them, eliminating kernel-doc warnings:

Warning: include/linux/hw_random.h:54 struct member 'list' not described
 in 'hwrng'
Warning: include/linux/hw_random.h:54 struct member 'ref' not described
 in 'hwrng'
Warning: include/linux/hw_random.h:54 struct member 'cleanup_work' not
 described in 'hwrng'
Warning: include/linux/hw_random.h:54 struct member 'cleanup_done' not
 described in 'hwrng'
Warning: include/linux/hw_random.h:54 struct member 'dying' not described
 in 'hwrng'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/hw_random.h

index b77bc55a4cf3567a74923037fc09a2749c21bfb8..1d3c1927986e231beae56b147f42ea77e79cfb7b 100644 (file)
@@ -46,7 +46,7 @@ struct hwrng {
        unsigned long priv;
        unsigned short quality;
 
-       /* internal. */
+       /* private: internal. */
        struct list_head list;
        struct kref ref;
        struct work_struct cleanup_work;