SUNRPC: Properly terminate test case arrays
authorChuck Lever <cel@kernel.org>
Mon, 27 Feb 2023 16:52:59 +0000 (11:52 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 27 Feb 2023 21:27:51 +0000 (16:27 -0500)
commitfb5b855d9f34927579baa0a20b4d0d8ea3740abd
tree456acb238c91a878a931d6eeb0604eeb004c8f95
parentfe90151c3cc6dbc0836723995f65d371ef4ad514
SUNRPC: Properly terminate test case arrays

Unable to handle kernel paging request at virtual address 73657420 when execute
[73657420] *pgd=00000000
Internal error: Oops: 80000005 [#1] ARM
CPU: 0 PID: 1 Comm: swapper Tainted: G                 N 6.2.0-rc7-00133-g373f26a81164-dirty #9
Hardware name: Generic DT based system
PC is at 0x73657420
LR is at kunit_run_tests+0x3e0/0x5f4

On x86 with GCC 12, the missing array terminators did not seem to
matter. Other platforms appear to be more picky.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/gss_krb5_test.c