netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw-2YrNx6rUIHYiY0qSoAWiAoQuADTiUCJX@public.gmane.org>
To: davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org,
	Marek Lindner
	<mareklindner-rVWd3aGhH2z5bpWLKbzFeg@public.gmane.org>
Subject: [PATCH 01/11] batman-adv: Include main.h in bat_v_ogm.h
Date: Mon,  4 Jul 2016 15:02:49 +0200	[thread overview]
Message-ID: <1467637379-6089-2-git-send-email-sw@simonwunderlich.de> (raw)
In-Reply-To: <1467637379-6089-1-git-send-email-sw-2YrNx6rUIHYiY0qSoAWiAoQuADTiUCJX@public.gmane.org>

From: Sven Eckelmann <sven-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org>

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-KaDOiPu9UxWEi8DpZVb4nw@public.gmane.org>
Signed-off-by: Marek Lindner <mareklindner-rVWd3aGhH2z5bpWLKbzFeg@public.gmane.org>
Signed-off-by: Simon Wunderlich <sw-2YrNx6rUIHYiY0qSoAWiAoQuADTiUCJX@public.gmane.org>
---
 net/batman-adv/bat_v_ogm.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/batman-adv/bat_v_ogm.h b/net/batman-adv/bat_v_ogm.h
index d849c75..4c4d45c 100644
--- a/net/batman-adv/bat_v_ogm.h
+++ b/net/batman-adv/bat_v_ogm.h
@@ -18,10 +18,10 @@
 #ifndef _BATMAN_ADV_BATADV_V_OGM_H_
 #define _BATMAN_ADV_BATADV_V_OGM_H_
 
+#include "main.h"
+
 #include <linux/types.h>
 
-struct batadv_hard_iface;
-struct batadv_priv;
 struct sk_buff;
 
 int batadv_v_ogm_init(struct batadv_priv *bat_priv);
-- 
2.8.1

  parent reply	other threads:[~2016-07-04 13:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04 13:02 [PATCH 00/11] pull request for net-next: batman-adv 2016-07-04 Simon Wunderlich
     [not found] ` <1467637379-6089-1-git-send-email-sw-2YrNx6rUIHYiY0qSoAWiAoQuADTiUCJX@public.gmane.org>
2016-07-04 13:02   ` Simon Wunderlich [this message]
2016-07-04 13:02   ` [PATCH 03/11] batman-adv: split tvlv into a separate file Simon Wunderlich
2016-07-04 13:02   ` [PATCH 05/11] batman-adv: Consolidate logging related functions Simon Wunderlich
2016-07-04 13:02 ` [PATCH 02/11] batman-adv: Keep includes ordered by filename Simon Wunderlich
2016-07-04 13:02 ` [PATCH 04/11] batman-adv: move bat_algo functions into a separate file Simon Wunderlich
2016-07-04 13:02 ` [PATCH 06/11] batman-adv: Fix bat_(iv|v) function declaration header Simon Wunderlich
2016-07-04 13:02 ` [PATCH 07/11] batman-adv: add generic netlink family for batman-adv Simon Wunderlich
2016-07-04 13:02 ` [PATCH 08/11] batman-adv: add netlink command to query generic mesh information files Simon Wunderlich
2016-07-04 13:02 ` [PATCH 09/11] batman-adv: return netdev status in the TX path Simon Wunderlich
2016-07-04 13:02 ` [PATCH 10/11] batman-adv: throughput meter implementation Simon Wunderlich
2016-07-04 13:02 ` [PATCH 11/11] batman-adv: split routing API data structure in subobjects Simon Wunderlich
2016-07-05  6:37 ` [PATCH 00/11] pull request for net-next: batman-adv 2016-07-04 David Miller
     [not found]   ` <20160704.233725.776967939409818077.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2016-07-05  7:07     ` Sven Eckelmann
2016-07-05  9:02     ` Simon Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467637379-6089-2-git-send-email-sw@simonwunderlich.de \
    --to=sw-2yrnx6ruihyiy0qsoawiaoquadtiucjx@public.gmane.org \
    --cc=b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=mareklindner-rVWd3aGhH2z5bpWLKbzFeg@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).