diff options
| author | Jakub Kicinski <[email protected]> | 2020-11-21 21:48:44 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-23 21:31:54 +0000 |
| commit | fc0d3b24bdb7a523e973e49648c45d240320ee95 (patch) | |
| tree | 12790f1d5b00a2b80e3f90469f91702d7456b4d1 /net/lapb/lapb_iface.c | |
| parent | net/tun: Call type change netdev notifiers (diff) | |
| download | kernel-fc0d3b24bdb7a523e973e49648c45d240320ee95.tar.gz kernel-fc0d3b24bdb7a523e973e49648c45d240320ee95.zip | |
compat: always include linux/compat.h from net/compat.h
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.
Reviewed-by: Arnd Bergmann <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
