]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfc: uapi: use kernel size_t to fix user-space builds
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 26 Dec 2021 12:03:47 +0000 (13:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 11:37:45 +0000 (12:37 +0100)
commit245c5e43cd25174af670e02392b1f30fa4010df2
tree34f234ba8affbec1a03fffdcef9beab8377dd26c
parent9e4a3f47eff476097e0c7faac04d1831fc70237d
nfc: uapi: use kernel size_t to fix user-space builds

commit 79b69a83705e621b258ac6d8ae6d3bfdb4b930aa upstream.

Fix user-space builds if it includes /usr/include/linux/nfc.h before
some of other headers:

  /usr/include/linux/nfc.h:281:9: error: unknown type name ‘size_t’
    281 |         size_t service_name_len;
        |         ^~~~~~

Fixes: d646960f7986 ("NFC: Initial LLCP support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/linux/nfc.h