Skip to content

batman-adv: Include cleanup

Sven Eckelmann batman 1 version Applied

Status from this message: Applied in 8de104e049ea..cfcb3be43ef5

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6batman-adv: include gfp.h for GFP_* definesnet/batman-adv/bat_iv_ogm.c net/batman-adv/bat_v_elp.c net/batman-adv/bat_v_ogm.c +19 more+22 -200 replies
2/6batman-adv: include build_bug.h for BUILD_BUG_ON definecompat-include/linux/build_bug.h net/batman-adv/main.c net/batman-adv/tp_meter.c +1 more+37 -30 replies
3/6batman-adv: Include net.h for net_ratelimited_functionnet/batman-adv/network-coding.c net/batman-adv/translation-table.c+2 -00 replies
4/6batman-adv: include kobject.h for kobject_* functionsnet/batman-adv/sysfs.c+1 -00 replies
5/6batman-adv: Remove unused sched.h includenet/batman-adv/debugfs.c+0 -10 replies
6/6batman-adv: compat: Map to linux/nl80211.h for Linux < 3.7compat-include/uapi/linux/nl80211.h+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [B.A.T.M.A.N.] [PATCH 0/6] batman-adv: Include cleanup

Hi,

I went through the build_test.git's testhelpers/kernel_mappings.iwyu and cleaned that up a little bit. This requires that we have to adjust the batman-adv sources slighty.

I have also found a build problem when you try to build B.A.T.M.A.N. V against Linux < 3.7 and fixed it in the same patchset.

Kind regards,
Sven

Sven Eckelmann (6):
batman-adv: include gfp.h for GFP_* defines
batman-adv: include build_bug.h for BUILD_BUG_ON define
batman-adv: Include net.h for net_ratelimited_function
batman-adv: include kobject.h for kobject_* functions
batman-adv: Remove unused sched.h include
batman-adv: compat: Map to linux/nl80211.h for Linux < 3.7

 compat-include/linux/build_bug.h       | 34 ++++++++++++++++++++++++++++++++++
 compat-include/uapi/linux/nl80211.h    |  4 ++++
 net/batman-adv/bat_iv_ogm.c            |  2 +-
 net/batman-adv/bat_v_elp.c             |  2 +-
 net/batman-adv/bat_v_ogm.c             |  2 +-
 net/batman-adv/bridge_loop_avoidance.c |  2 +-
 net/batman-adv/debugfs.c               |  1 -
 net/batman-adv/distributed-arp-table.c |  2 +-
 net/batman-adv/fragmentation.c         |  2 +-
 net/batman-adv/gateway_client.c        |  2 +-
 net/batman-adv/hard-interface.c        |  2 +-
 net/batman-adv/hash.c                  |  2 +-
 net/batman-adv/icmp_socket.c           |  1 +
 net/batman-adv/log.c                   |  1 +
 net/batman-adv/main.c                  |  4 ++--
 net/batman-adv/multicast.c             |  2 +-
 net/batman-adv/netlink.c               |  2 +-
 net/batman-adv/network-coding.c        |  3 ++-
 net/batman-adv/originator.c            |  2 +-
 net/batman-adv/send.c                  |  2 +-
 net/batman-adv/soft-interface.c        |  2 +-
 net/batman-adv/sysfs.c                 |  3 ++-
 net/batman-adv/tp_meter.c              |  4 ++--
 net/batman-adv/translation-table.c     |  5 +++--
 net/batman-adv/tvlv.c                  |  2 +-
 25 files changed, 66 insertions(+), 24 deletions(-)
 create mode 100644 compat-include/linux/build_bug.h
Signature · 1 line
2.11.0