[PATCH] powerpc/pseries/papr-sysparm: use u8 arrays for payloads
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Feb 15 23:57:37 AEDT 2024
On Fri, 02 Feb 2024 18:26:46 -0600, Nathan Lynch wrote:
> Some PAPR system parameter values are formatted by firmware as
> nul-terminated strings (e.g. LPAR name, shared processor attributes).
> But the values returned for other parameters, such as processor module
> info and TLB block invalidate characteristics, are binary data with
> parameter-specific layouts. So char[] isn't the appropriate type for
> the general case. Use u8/__u8.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/pseries/papr-sysparm: use u8 arrays for payloads
https://git.kernel.org/powerpc/c/8ded03ae48b3657e0fbca99d8a9d8fa1bfb8c9be
cheers
More information about the Linuxppc-dev
mailing list