On Thu, 20 Sep 2018 20:33:01 +0800
YueHaibing wrote:
> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
> which is a typedef for an enum type, so make sure the implementation in
> this driver has returns 'netdev_tx_t' value, and change the function
> return type to netdev_tx_
Remove trailing whitespace and blank lines at EOF
Signed-off-by: Stephen Hemminger
---
net/sched/Kconfig| 4 ++--
net/sched/Makefile | 2 +-
net/sched/act_connmark.c | 1 -
net/sched/act_pedit.c| 1 -
net/sched/cls_basic.c| 1 -
5 files changed, 3 insertions(+), 6
Signed-off-by: Stephen Hemminger
---
net/wimax/Makefile | 2 --
net/wimax/debugfs.c | 2 --
net/wimax/op-msg.c | 1 -
net/wimax/stack.c | 1 -
4 files changed, 6 deletions(-)
diff --git a/net/wimax/Makefile b/net/wimax/Makefile
index eb2db0d3b880..c2a71ae487ac 100644
--- a/net/wimax
Remove trailing whitespace and blank lines at EOF
Signed-off-by: Stephen Hemminger
---
net/9p/client.c | 4 ++--
net/9p/trans_virtio.c | 2 +-
net/9p/util.c | 1 -
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/net/9p/client.c b/net/9p/client.c
index 5c1343195292
Signed-off-by: Stephen Hemminger
---
net/ipv6/ila/ila_common.c | 1 -
net/ipv6/ila/ila_xlat.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/net/ipv6/ila/ila_common.c b/net/ipv6/ila/ila_common.c
index 579310466eac..95e9146918cc 100644
--- a/net/ipv6/ila/ila_common.c
+++ b/net/ipv6/ila
Signed-off-by: Stephen Hemminger
---
net/llc/Kconfig | 2 +-
net/llc/Makefile | 2 +-
net/llc/llc_if.c | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/llc/Kconfig b/net/llc/Kconfig
index b91c65108162..176a6c1521a5 100644
--- a/net/llc/Kconfig
+++ b/net/llc/Kconfig
Signed-off-by: Stephen Hemminger
---
net/mpls/mpls_iptunnel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c
index 6e558a419f60..94f53a9b7d1a 100644
--- a/net/mpls/mpls_iptunnel.c
+++ b/net/mpls/mpls_iptunnel.c
@@ -224,7
Signed-off-by: Stephen Hemminger
---
net/rds/Kconfig | 1 -
net/rds/Makefile | 1 -
net/rds/ib.c | 1 -
net/rds/message.c| 1 -
net/rds/rdma_transport.c | 1 -
net/rds/tcp.c| 1 -
net/rds/transport.c | 1 -
7 files changed, 7 deletions
Remove trailing whitespace and extra lines at EOF
Signed-off-by: Stephen Hemminger
---
net/decnet/Kconfig | 1 -
net/decnet/Makefile | 1 -
net/decnet/TODO | 5 ++---
net/decnet/dn_fib.c | 2 --
net/decnet/dn_nsp_in.c | 1 -
net
Signed-off-by: Stephen Hemminger
---
net/atm/mpoa_proc.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/net/atm/mpoa_proc.c b/net/atm/mpoa_proc.c
index b93cc0f18292..46d6cd9a36ae 100644
--- a/net/atm/mpoa_proc.c
+++ b/net/atm/mpoa_proc.c
@@ -307,9 +307,3 @@ void mpc_proc_clean(void
Signed-off-by: Stephen Hemminger
---
net/x25/Kconfig| 2 --
net/x25/x25_subr.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/net/x25/Kconfig b/net/x25/Kconfig
index e2fa133f9fba..59fcb41fc5e6 100644
--- a/net/x25/Kconfig
+++ b/net/x25/Kconfig
@@ -31,5 +31,3 @@ config X25
Signed-off-by: Stephen Hemminger
---
net/ax25/ax25_addr.c| 1 -
net/ax25/ax25_ds_in.c | 1 -
net/ax25/ax25_ds_subr.c | 1 -
net/ax25/ax25_ip.c | 1 -
net/ax25/ax25_out.c | 1 -
5 files changed, 5 deletions(-)
diff --git a/net/ax25/ax25_addr.c b/net/ax25/ax25_addr.c
index
Signed-off-by: Stephen Hemminger
---
net/bpfilter/Kconfig | 1 -
net/ipv4/bpfilter/Makefile | 1 -
2 files changed, 2 deletions(-)
diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig
index 76deb6615883..e558b46596c4 100644
--- a/net/bpfilter/Kconfig
+++ b/net/bpfilter/Kconfig
Several files have extra line at end of file.
Signed-off-by: Stephen Hemminger
---
net/8021q/Makefile | 1 -
net/Kconfig | 2 +-
net/core/neighbour.c| 1 -
net/dns_resolver/dns_key.c | 1 -
net/ieee802154/core.c | 1 -
net/ieee802154
Signed-off-by: Stephen Hemminger
---
net/l2tp/l2tp_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index 1ea285bad84b..c8fc0f7f0b4b 100644
--- a/net/l2tp/l2tp_core.c
+++ b/net/l2tp/l2tp_core.c
@@ -1795,4 +1795,3 @@ MODULE_AUTHOR("
Remove blank lines at end of file and trailing whitespace.
Signed-off-by: Stephen Hemminger
---
net/ceph/Kconfig | 1 -
net/ceph/Makefile | 1 -
net/ceph/auth_none.c | 1 -
net/ceph/auth_none.h | 1 -
net/ceph/auth_x.c | 2 --
net/ceph/auth_x.h | 1 -
net/ceph/mon_client.c
Ran script that I use to check for trailing whitespace and
blank lines at end of files across all files in net/ directory.
These are errors that checkpatch reports and git flags.
These are the resulting fixes broken up mostly by subsystem.
Stephen Hemminger (18):
sched: fix trailing whitespace
Remove blank line at EOF and trailing whitespace.
Signed-off-by: Stephen Hemminger
---
net/sctp/Kconfig | 4 ++--
net/sctp/sm_sideeffect.c | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig
index c740b189d4ba..950ecf6e7439 100644
Signed-off-by: Stephen Hemminger
---
net/xfrm/Kconfig | 1 -
net/xfrm/xfrm_user.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig
index 286ed25c1a69..eab952cca7d0 100644
--- a/net/xfrm/Kconfig
+++ b/net/xfrm/Kconfig
@@ -87,4 +87,3 @@ config
Remove trailing whitespace and blank line at EOF
Signed-off-by: Stephen Hemminger
---
net/sunrpc/auth_gss/auth_gss.c | 2 +-
net/sunrpc/auth_gss/gss_generic_token.c | 1 -
net/sunrpc/auth_gss/gss_krb5_crypto.c | 1 -
net/sunrpc/auth_gss/gss_krb5_keys.c | 1 -
net/sunrpc/auth_gss
This showed up on Bugzilla for networking
Begin forwarded message:
Date: Mon, 09 Oct 2017 12:39:47 +
From: bugzilla-dae...@bugzilla.kernel.org
To: step...@networkplumber.org
Subject: [Bug 197169] New: duplicate packets
https://bugzilla.kernel.org/show_bug.cgi?id=197169
Bug ID:
goto out;
> > }
>
> This is a Linux 2.6.2 change, I append the patch which introduced the
> change below. I'm cc'ing Stephen Hemminger who hopefully recalls why his
> patch did introduce this change.
>
>
I have no memory of adding this, as long a
22 matches
Mail list logo