Re: [PATCH net-next] compat: always include linux/compat.h from net/compat.h

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 22:25:35 +0100 Arnd Bergmann wrote: > On Sat, Nov 21, 2020 at 6:52 PM Jakub Kicinski wrote: > > > > We're about to do some reshuffling in networking headers and make > > some of the file lose the implicit includes. This results in: > > > > In file included from net/ipv4/netfilt

Re: [PATCH net-next] compat: always include linux/compat.h from net/compat.h

2020-11-21 Thread Arnd Bergmann
On Sat, Nov 21, 2020 at 6:52 PM Jakub Kicinski wrote: > > We're about to do some reshuffling in networking headers and make > some of the file lose the implicit includes. This results in: > > In file included from net/ipv4/netfilter/arp_tables.c:26: > include/net/compat.h:57:23: error: conflicting

Re: [PATCH net-next] compat: always include linux/compat.h from net/compat.h

2020-11-21 Thread Jakub Kicinski
On Sat, 21 Nov 2020 09:52:24 -0800 Jakub Kicinski wrote: > In file included from net/ipv4/netfilter/arp_tables.c:26: > include/net/compat.h:57:23: error: conflicting types for ‘uintptr_t’ > #define compat_uptr_t uintptr_t >^ > include/asm-generic/compat.h:22:13: not

[PATCH net-next] compat: always include linux/compat.h from net/compat.h

2020-11-21 Thread Jakub Kicinski
We're about to do some reshuffling in networking headers and make some of the file lose the implicit includes. This results in: In file included from net/ipv4/netfilter/arp_tables.c:26: include/net/compat.h:57:23: error: conflicting types for ‘uintptr_t’ #define compat_uptr_t uintptr_t