* [PATCH] crypto:scompress: fix kernel-doc warning and spelling error
@ 2026-03-14 20:16 Abdellah Ouhbi
0 siblings, 0 replies; 2+ messages in thread
From: Abdellah Ouhbi @ 2026-03-14 20:16 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, linux-kernel, skhan, me, Abdellah Ouhbi
Fix htmldocs build warning:
./include/crypto/internal/scompress.h:39 struct member
'COMP_ALG_COMMON' not described in 'scomp_alg'
The struct scomp_alg contains an anonymous union member defined by
macro COMP_ALG_COMMON that was not documented. Add documentation
following the pattern used in other crypto headers for similar
anonymous members.
Also fix spelling error in existing comment: "Cmonn" to "Common".
Signed-off-by: Abdellah Ouhbi <abdououhbi1@gmail.com>
---
include/crypto/internal/scompress.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/crypto/internal/scompress.h b/include/crypto/internal/scompress.h
index 6a2c5f2e90f9..f91a2c3487ef 100644
--- a/include/crypto/internal/scompress.h
+++ b/include/crypto/internal/scompress.h
@@ -21,7 +21,8 @@ struct crypto_scomp {
* @compress: Function performs a compress operation
* @decompress: Function performs a de-compress operation
* @streams: Per-cpu memory for algorithm
- * @calg: Cmonn algorithm data structure shared with acomp
+ * @calg: Common algorithm data structure shared with acomp
+ * @COMP_ALG_COMMON: see struct comp_alg_common in crypto/acompress.h
*/
struct scomp_alg {
int (*compress)(struct crypto_scomp *tfm, const u8 *src,
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH] crypto:scompress: fix kernel-doc warning and spelling error
@ 2026-03-12 18:00 Abdellah Ouhbi
0 siblings, 0 replies; 2+ messages in thread
From: Abdellah Ouhbi @ 2026-03-12 18:00 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, linux-kernel, skhan, me, Abdellah Ouhbi
Fix htmldocs build warning:
./include/crypto/internal/scompress.h:39 struct member
'COMP_ALG_COMMON' not described in 'scomp_alg'
The struct scomp_alg contains an anonymous union member defined by
macro COMP_ALG_COMMON that was not documented. Add documentation
following the pattern used in other crypto headers for similar
anonymous members.
Also fix spelling error in existing comment: "Cmonn" to "Common".
Signed-off-by: Abdellah Ouhbi <abdououhbi1@gmail.com>
---
include/crypto/internal/scompress.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/crypto/internal/scompress.h b/include/crypto/internal/scompress.h
index 6a2c5f2e90f9..f91a2c3487ef 100644
--- a/include/crypto/internal/scompress.h
+++ b/include/crypto/internal/scompress.h
@@ -21,7 +21,8 @@ struct crypto_scomp {
* @compress: Function performs a compress operation
* @decompress: Function performs a de-compress operation
* @streams: Per-cpu memory for algorithm
- * @calg: Cmonn algorithm data structure shared with acomp
+ * @calg: Common algorithm data structure shared with acomp
+ * @COMP_ALG_COMMON: see struct comp_alg_common in crypto/acompress.h
*/
struct scomp_alg {
int (*compress)(struct crypto_scomp *tfm, const u8 *src,
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-14 20:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-14 20:16 [PATCH] crypto:scompress: fix kernel-doc warning and spelling error Abdellah Ouhbi
-- strict thread matches above, loose matches on Subject: below --
2026-03-12 18:00 Abdellah Ouhbi
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®