[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a32JYqeFUD=BUaN0q6_idVS+mWx1VFwWsOLOYLA_C+3Yg@mail.gmail.com>
Date: Sun, 22 Nov 2020 12:23:50 +0100
From: Arnd Bergmann <arnd@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>,
Christoph Hellwig <hch@....de>, Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH net-next v2] compat: always include linux/compat.h from net/compat.h
On Sat, Nov 21, 2020 at 10:49 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> We're about to do reshuffling in networking headers and
> eliminate some implicit includes. This results in:
>
> In file included from ../net/ipv4/netfilter/arp_tables.c:26:
> include/net/compat.h:60:40: error: unknown type name ‘compat_uptr_t’; did you mean ‘compat_ptr_ioctl’?
> struct sockaddr __user **save_addr, compat_uptr_t *ptr,
> ^~~~~~~~~~~~~
> compat_ptr_ioctl
> include/net/compat.h:61:4: error: unknown type name ‘compat_size_t’; did you mean ‘compat_sigset_t’?
> compat_size_t *len);
> ^~~~~~~~~~~~~
> compat_sigset_t
>
> Currently net/compat.h depends on linux/compat.h being included
> first. After the upcoming changes this would break the 32bit build.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists