Re: [PATCH 1/2] uapi: fix definition of struct sockaddr_nfc_llcp on x32 and mips n32

2017-02-20 Thread Dmitry V. Levin
On Mon, Feb 20, 2017 at 09:15:33PM +0300, Dmitry V. Levin wrote: > Replace size_t with __kernel_size_t to fix definition of struct > sockaddr_nfc_llcp on architectures like x32 and mips n32 where > sizeof(size_t) < sizeof(__kernel_size_t). > > This also fixes the following linux/nfc.h userspace co

[PATCH 1/2] uapi: fix definition of struct sockaddr_nfc_llcp on x32 and mips n32

2017-02-20 Thread Dmitry V. Levin
Replace size_t with __kernel_size_t to fix definition of struct sockaddr_nfc_llcp on architectures like x32 and mips n32 where sizeof(size_t) < sizeof(__kernel_size_t). This also fixes the following linux/nfc.h userspace compilation error: /usr/include/linux/nfc.h:279:2: error: unknown type name