summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-07-03 21:43:54 +0200
committerJonathan Corbet <corbet@lwn.net>2018-07-10 23:00:52 +0200
commit8dd99871f7acb776521b35a6107d3dd22f1522b8 (patch)
tree7f7e370d5ba50331755aa0c6e6195637f2d8d244
parentdocs: histogram.txt: convert it to ReST file format (diff)
downloadlinux-8dd99871f7acb776521b35a6107d3dd22f1522b8.tar.xz
linux-8dd99871f7acb776521b35a6107d3dd22f1522b8.zip
reed_solomon: Fix kernel-doc
The current doc build warns: ./lib/reed_solomon/reed_solomon.c:287: WARNING: Unknown target name: "gfp". This is because it misinterprets the "GFP_" that is part of the description. Change the description to avoid the problem. Signed-off-by: Matthew Wilcox <willy@infradead.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--lib/reed_solomon/reed_solomon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reed_solomon/reed_solomon.c b/lib/reed_solomon/reed_solomon.c
index d8bb1a1eba72..e5fdc8b9e856 100644
--- a/lib/reed_solomon/reed_solomon.c
+++ b/lib/reed_solomon/reed_solomon.c
@@ -283,7 +283,7 @@ out:
* in index form
* @prim: primitive element to generate polynomial roots
* @nroots: RS code generator polynomial degree (number of roots)
- * @gfp: GFP_ flags for allocations
+ * @gfp: Memory allocation flags.
*/
struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
int nroots, gfp_t gfp)