af_unix: Clean up headers.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | af_unix: Sort headers.include/ net/ net/ +3 more | +51 | 3 replies | Applied |
| 2/4 | af_unix: Move internal definitions to net/unix/.include/ net/ net/ +4 more | +102 | 4 replies | Applied |
| 3/4 | af_unix: Explicitly include headers for non-pointer struct fields.include/ net/ net/ +2 more | +6 | 0 replies | Applied |
| 4/4 | af_unix: Clean up #include under net/unix/.net/ net/ net/ +1 more | +9 | 0 replies | Applied |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Joe Damato |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net-next 0/4] af_unix: Clean up headers.
AF_UNIX files include many unnecessary headers (netdevice.h and rtnetlink.h, etc), and this series cleans them up.
Note that there are still some headers included indirectly and modifying them triggers rebuild, which seems mostly inevitable. [0]
$ python3 include_graph.py net/unix/garbage.c linux/rtnetlink.h linux/netdevice.h ... include/net/af_unix.h | include/linux/net.h | | include/linux/once.h | | include/linux/sockptr.h | | include/uapi/linux/net.h | include/net/sock.h | | include/linux/netdevice.h <--- ... | | include/net/dst.h | | | include/linux/rtnetlink.h <---
[0]: https://gist.github.com/q2ven/9c5897f11a493145829029c0bfb364d0
Kuniyuki Iwashima (4):
af_unix: Sort headers.
af_unix: Move internal definitions to net/unix/.
af_unix: Explicitly include headers for non-pointer struct fields.
af_unix: Clean up #include under net/unix/.
include/net/af_unix.h | 84 ++++---------------------------------- net/unix/af_unix.c | 55 +++++++++++-------------- net/unix/af_unix.h | 75 ++++++++++++++++++++++++++++++++++ net/unix/diag.c | 18 ++++---- net/unix/garbage.c | 33 +++++++++------ net/unix/sysctl_net_unix.c | 6 ++- net/unix/unix_bpf.c | 5 ++- 7 files changed, 143 insertions(+), 133 deletions(-) create mode 100644 net/unix/af_unix.h
Signature · 1 line
2.48.1