misc: genwqe: move intervening macros away from kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 13 Jan 2023 06:39:09 +0000 (22:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 16:24:04 +0000 (17:24 +0100)
commit0e656b807d9ee649eca8d075f3c1bb04c16a5bd4
treeb08e235fc6f5d931c1385c89c51a0d2b5c7db7ec
parent70fae37a09268455b8ab4f64647086b61da6f39c
misc: genwqe: move intervening macros away from kernel-doc

Don't separate a function's kernel-doc comment and its definition with
macros or data; move the macro and data ahead of the function and its
comments to prevent a warning:

drivers/misc/genwqe/card_utils.c:162: warning: expecting prototype for genwqe_init_crc32(). Prototype was for CRC32_POLYNOMIAL() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Frank Haverkamp <haver@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20230113063909.19694-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/genwqe/card_utils.c