b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org,
	Sven Eckelmann <sven@narfation.org>,
	Simon Wunderlich <sw@simonwunderlich.de>
Subject: [B.A.T.M.A.N.] [PATCH 10/19] batman-adv: include kobject.h for kobject_* functions
Date: Wed, 20 Dec 2017 12:01:15 +0100	[thread overview]
Message-ID: <20171220110124.13117-11-sw@simonwunderlich.de> (raw)
In-Reply-To: <20171220110124.13117-1-sw@simonwunderlich.de>

From: Sven Eckelmann <sven@narfation.org>

The linux/kobject.h provides the kobject_* function declarations and should
therefore be included directly before they are used.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
---
 net/batman-adv/sysfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c
index 374ff46feb8e..227a072dc1d3 100644
--- a/net/batman-adv/sysfs.c
+++ b/net/batman-adv/sysfs.c
@@ -27,6 +27,7 @@
 #include <linux/if.h>
 #include <linux/if_vlan.h>
 #include <linux/kernel.h>
+#include <linux/kobject.h>
 #include <linux/kref.h>
 #include <linux/netdevice.h>
 #include <linux/printk.h>
-- 
2.11.0


  parent reply	other threads:[~2017-12-20 11:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 11:01 [B.A.T.M.A.N.] [PATCH 00/19] pull request for net-next: batman-adv 2017-12-20 Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 01/19] batman-adv: Start new development cycle Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 02/19] batman-adv: Deinline batadv_orig_hash_find, save 7339 bytes Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 03/19] batman-adv: Add SPDX license identifier above copyright header Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 04/19] batman-adv: Add SPDX license identifier to batman-adv.rst Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 05/19] batman-adv: Add license header to Kconfig Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 06/19] batman-adv: Change batman_adv.h license to MIT Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 07/19] batman-adv: include gfp.h for GFP_* defines Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 08/19] batman-adv: include build_bug.h for BUILD_BUG_ON define Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 09/19] batman-adv: Include net.h for net_ratelimited_function Simon Wunderlich
2017-12-20 11:01 ` Simon Wunderlich [this message]
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 11/19] batman-adv: Remove unused sched.h include Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 12/19] batman-adv: Add missing kernel-doc to packet.h Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 13/19] batman-adv: Use parentheses in function kernel-doc Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 14/19] batman-adv: Use inline kernel-doc for enum/struct Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 15/19] batman-adv: Fix kernel-doc references to struct members Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 16/19] batman-adv: Add kernel-doc to structs in headers Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 17/19] batman-adv: Add kernel-doc to enums " Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 18/19] batman-adv: Add kernel-doc to functions " Simon Wunderlich
2017-12-20 11:01 ` [B.A.T.M.A.N.] [PATCH 19/19] batman-adv: Add kernel-doc to externally visible functions Simon Wunderlich
2017-12-20 19:39 ` [B.A.T.M.A.N.] [PATCH 00/19] pull request for net-next: batman-adv 2017-12-20 David Miller
2017-12-21  5:58   ` Sven Eckelmann

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=20171220110124.13117-11-sw@simonwunderlich.de \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sven@narfation.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).