Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dd99871 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Jonathan Corbet
Browse files

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: default avatarMatthew Wilcox <willy@infradead.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent ea272257
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -283,7 +283,7 @@ static struct rs_control *init_rs_internal(int symsize, int gfpoly,
 *		in index form
 *		in index form
 *  @prim:	primitive element to generate polynomial roots
 *  @prim:	primitive element to generate polynomial roots
 *  @nroots:	RS code generator polynomial degree (number of 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,
struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
			       int nroots, gfp_t gfp)
			       int nroots, gfp_t gfp)