From: Simon Wunderlich <sw@simonwunderlich.de>
To: kuba@kernel.org, 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: [PATCH 3/6] batman-adv: Switch to kstrtox.h for kstrtou64
Date: Thu, 19 Aug 2021 17:33:31 +0200 [thread overview]
Message-ID: <20210819153334.18850-4-sw@simonwunderlich.de> (raw)
In-Reply-To: <20210819153334.18850-1-sw@simonwunderlich.de>
From: Sven Eckelmann <sven@narfation.org>
The commit 4c52729377ea ("kernel.h: split out kstrtox() and simple_strtox()
to a separate header") moved the kstrtou64 function to a new header called
linux/kstrtox.h.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
---
net/batman-adv/gateway_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c
index fdde305a198e..9349c76f30c5 100644
--- a/net/batman-adv/gateway_common.c
+++ b/net/batman-adv/gateway_common.c
@@ -10,7 +10,7 @@
#include <linux/atomic.h>
#include <linux/byteorder/generic.h>
#include <linux/errno.h>
-#include <linux/kernel.h>
+#include <linux/kstrtox.h>
#include <linux/limits.h>
#include <linux/math64.h>
#include <linux/netdevice.h>
--
2.20.1
next prev parent reply other threads:[~2021-08-19 15:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-19 15:33 [PATCH 0/6] pull request for net-next: batman-adv 2021-08-19 Simon Wunderlich
2021-08-19 15:33 ` [PATCH 1/6] batman-adv: Start new development cycle Simon Wunderlich
2021-08-19 15:33 ` [PATCH 2/6] batman-adv: Move IRC channel to hackint.org Simon Wunderlich
2021-08-19 20:52 ` Jakub Kicinski
2021-08-19 15:33 ` Simon Wunderlich [this message]
2021-08-19 15:33 ` [PATCH 4/6] batman-adv: Check ptr for NULL before reducing its refcnt Simon Wunderlich
2021-08-19 15:33 ` [PATCH 5/6] batman-adv: Drop NULL check before dropping references Simon Wunderlich
2021-08-19 15:33 ` [PATCH 6/6] batman-adv: bcast: remove remaining skb-copy calls Simon Wunderlich
2021-08-20 8:32 [PATCH 0/6] (updated) pull request for net-next: batman-adv 2021-08-20 Simon Wunderlich
2021-08-20 8:32 ` [PATCH 3/6] batman-adv: Switch to kstrtox.h for kstrtou64 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=20210819153334.18850-4-sw@simonwunderlich.de \
--to=sw@simonwunderlich.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--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).