include/linux/byteorder: fix cpu_to_be32_array()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 20 May 2021 15:36:03 +0000 (17:36 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 12 Apr 2022 12:02:54 +0000 (08:02 -0400)
commitc8f9e666abcc267ec3fed7083fbd9bc57943f334
treedc52ce22391f1c19088b726c145ccbae965fd65c
parent672c170f689174955ffccf1065950b4d8624766e
include/linux/byteorder: fix cpu_to_be32_array()

In cpu_to_be32_array() and be32_to_cpu_array() we should not compare an int
counter to a size_t parameter. Correct the type of the counter.  This
exists in upstream as b4c80629c5c9 ("include/linux/byteorder/generic.h:
fix index variables").

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/linux/byteorder/generic.h