Russell Currey writes:
> 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->descr
On Tue, 2023-08-22 at 16:33 -0500, Nathan Lynch via B4 Relay wrote:
> From: Nathan Lynch
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=dis
From: Nathan Lynch
Add selftests for /dev/papr-vpd, exercising the common expected use
cases:
* Retrieve all VPD by passing an empty location code.
* Retrieve the "system VPD" by passing a location code derived from DT
root node properties, as done by the vpdupdate command.
The tests also ver