On Tue, 2023-08-22 at 16:33 -0500, Nathan Lynch via B4 Relay wrote: > From: Nathan Lynch <nath...@linux.ibm.com>
Hi Nathan, snowpatch has found a compiler error with this patch. Error: papr_vpd.c:346:33: error: passing argument 2 of 'test_harness' discards 'const' qualifier from pointer target type [-Werror=discarded- qualifiers] if (test_harness(t->function, t->description)) ^ In file included from papr_vpd.c:11:0: /linux/tools/testing/selftests/powerpc/include/utils.h:35:5: note: expected 'char *' but argument is of type 'const char * const' int test_harness(int (test_function)(void), char *name); ^ https://github.com/linuxppc/linux-snowpatch/actions/runs/5960052721/job/16166735476#step:6:1337 https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20230822-papr-sys_rtas-vs-lockdown-v1-2-932623cf3...@linux.ibm.com/ - Russell