Skip to contentSkip to conversation

net: don't include ndisc.h from ipv6.h

PATCH Applied Jakub Kicinski 4 participants 4 messages Feb 3, 2022 – Feb 5, 2022

Subsystems (11)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH v2 1/1 net: don't include ndisc.h from ipv6.h

Nothing in ipv6.h needs ndisc.h, drop it.

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 drivers/net/bonding/bond_alb.c | 1 +
 drivers/net/usb/cdc_mbim.c     | 1 +
 include/net/ipv6.h             | 1 -
 include/net/ipv6_frag.h        | 1 +
 net/6lowpan/core.c             | 1 +
 net/ieee802154/6lowpan/core.c  | 1 +
 net/mctp/device.c              | 1 +
 7 files changed, 6 insertions(+), 1 deletion(-)
drivers/net/bonding/bond_alb.c +1 -0
index c98a4b0a8453..303c8d32d451 100644
@@ -19,6 +19,7 @@
 #include <linux/in.h>
 #include <net/arp.h>
 #include <net/ipv6.h>
+#include <net/ndisc.h>
 #include <asm/byteorder.h>
 #include <net/bonding.h>
 #include <net/bond_alb.h>
drivers/net/usb/cdc_mbim.c +1 -0
index 82bb5ed94c48..a7c1434fe2da 100644
@@ -21,6 +21,7 @@
 #include <net/ipv6.h>
 #include <net/addrconf.h>
 #include <net/ipv6_stubs.h>
+#include <net/ndisc.h>
 
 /* alternative VLAN for IP session 0 if not untagged */
 #define MBIM_IPS0_VID	4094
include/net/ipv6.h +0 -1
index 082f30256f59..cda1f205f391 100644
@@ -15,7 +15,6 @@
 #include <linux/refcount.h>
 #include <linux/jump_label_ratelimit.h>
 #include <net/if_inet6.h>
-#include <net/ndisc.h>
 #include <net/flow.h>
 #include <net/flow_dissector.h>
 #include <net/snmp.h>
include/net/ipv6_frag.h +1 -0
index 0a4779175a52..5052c66e22d2 100644
@@ -1,6 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _IPV6_FRAG_H
 #define _IPV6_FRAG_H
+#include <linux/icmpv6.h>
 #include <linux/kernel.h>
 #include <net/addrconf.h>
 #include <net/ipv6.h>
net/6lowpan/core.c +1 -0
index a068757eabaf..7b3341cef926 100644
@@ -5,6 +5,7 @@
  * (C) 2015 Pengutronix, Alexander Aring <[email protected]>
  */
 
+#include <linux/if_arp.h>
 #include <linux/module.h>
 
 #include <net/6lowpan.h>
net/ieee802154/6lowpan/core.c +1 -0
index 2cf62718a282..2c087b7f17c5 100644
@@ -47,6 +47,7 @@
 #include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/ieee802154.h>
+#include <linux/if_arp.h>
 
 #include <net/ipv6.h>
 
net/mctp/device.c +1 -0
index ef2755f82f87..02ddc0f1bd3e 100644
@@ -6,6 +6,7 @@
  * Copyright (c) 2021 Google
  */
 
+#include <linux/if_arp.h>
 #include <linux/if_link.h>
 #include <linux/mctp.h>
 #include <linux/netdevice.h>
Signature · 1 line
2.34.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=611162

---Test result---

Test Summary:

CheckPatch                    PASS      2.48 seconds
GitLint                       PASS      1.04 seconds
SubjectPrefix                 FAIL      0.84 seconds
BuildKernel                   PASS      29.87 seconds
BuildKernel32                 PASS      27.10 seconds
Incremental Build with patchesPASS      36.95 seconds
TestRunner: Setup             PASS      475.73 seconds
TestRunner: l2cap-tester      PASS      13.66 seconds
TestRunner: bnep-tester       PASS      6.22 seconds
TestRunner: mgmt-tester       PASS      105.59 seconds
TestRunner: rfcomm-tester     PASS      7.60 seconds
TestRunner: sco-tester        PASS      7.76 seconds
TestRunner: smp-tester        PASS      7.59 seconds
TestRunner: userchan-tester   PASS      6.50 seconds

Details
##############################
Test: SubjectPrefix - FAIL - 0.84 seconds
Check subject contains "Bluetooth" prefix
"Bluetooth: " is not specified in the subject

---
Regards,
Linux Bluetooth

Reviewed-by on v2 1/1
#2 lore raw
In reply to Jakub Kicinski
Quoted 19 lines · Jakub Kicinski

Nothing in ipv6.h needs ndisc.h, drop it.

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

Quoted 10 lines
---
 drivers/net/bonding/bond_alb.c | 1 +
 drivers/net/usb/cdc_mbim.c     | 1 +
 include/net/ipv6.h             | 1 -
 include/net/ipv6_frag.h        | 1 +
 net/6lowpan/core.c             | 1 +
 net/ieee802154/6lowpan/core.c  | 1 +
 net/mctp/device.c              | 1 +
 7 files changed, 6 insertions(+), 1 deletion(-)
#3 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Thu, 3 Feb 2022 15:12:40 -0800 you wrote:

Nothing in ipv6.h needs ndisc.h, drop it.

[...]

Here is the summary with links:
- [net-next,v2] net: don't include ndisc.h from ipv6.h

    https://git.kernel.org/netdev/net-next/c/c78b8b20e349

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html