Thread (6 messages) 6 messages, 3 authors, 2021-12-28

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

flat view

From: Krzysztof Kozlowski <hidden>
Date: 2021-12-26 13:33:10
Also in: lkml

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: <redacted>
Signed-off-by: Dmitry V. Levin <redacted>
---
 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 <redacted>


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help