]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
batman-adv: Include main.h in bat_v_ogm.h
authorSven Eckelmann <sven@narfation.org>
Sun, 15 May 2016 09:07:41 +0000 (11:07 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Thu, 30 Jun 2016 08:29:43 +0000 (10:29 +0200)
commit67a5613ed09e1b9d5d188507bcbaeb37a6d0fe12
treee61cf1bb227b7d9b7200853cdf1e8614de4cb7a3
parent4e3e823b5a503235630921287f130e1d8d22d200
batman-adv: Include main.h in bat_v_ogm.h

main.h includes statements which (re)define preprocessor variables which
influence the compiled code. This makes it necessary to include it in all
files. For example, it redefines pr_fmt used to the module as prefix for
each pr_* message.

Reported-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v_ogm.h