Re: [PATCH v2] uapi: fix linux/nfc.h userspace compilation errors

From: Krzysztof Kozlowski
Date: Sun Dec 26 2021 - 08:33:15 EST


On 26/12/2021 14:01, Dmitry V. Levin wrote:
> Replace sa_family_t with __kernel_sa_family_t to fix the following
> linux/nfc.h userspace compilation errors:
>
> /usr/include/linux/nfc.h:266:2: error: unknown type name 'sa_family_t'
> sa_family_t sa_family;
> /usr/include/linux/nfc.h:274:2: error: unknown type name 'sa_family_t'
> sa_family_t sa_family;
>
> Fixes: 23b7869c0fd0 ("NFC: add the NFC socket raw protocol")
> Fixes: d646960f7986 ("NFC: Initial LLCP support")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
> ---
> v2: Removed Link tag, added Fixes and Cc tags.
>
> include/uapi/linux/nfc.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof