[0/6] batman-adv: Include cleanup

Message ID 20171119161207.32588-1-sven@narfation.org (mailing list archive)
Headers
Series batman-adv: Include cleanup |

Message

Sven Eckelmann Nov. 19, 2017, 4:12 p.m. UTC
  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
  

Comments

Sven Eckelmann Dec. 6, 2017, 10:42 a.m. UTC | #1
On Sonntag, 19. November 2017 17:12:01 CET Sven Eckelmann wrote:
> 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.

Applied in 8de104e049ea..cfcb3be43ef5

Kind regards,
	Sven