]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Dec 2021 14:58:37 +0000 (14:58 +0000)
commit4dea03c068c4b5734f5a86c1458535e4312b31e6
tree6e74633fa3b792deb3b9407b9ed3920dab8eeb4b
parent747072e7c7b0ea3f2849d4e73b73143c5bf292f0
nfc: uapi: use kernel size_t to fix user-space builds

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: 891a717073e0 ("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>
include/uapi/linux/nfc.h