netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] Fix duplicate #include headers
@ 2014-04-05  6:28 Jean Sacren
  2014-04-05  6:29 ` [PATCH net 1/2] sxgbe: fix " Jean Sacren
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jean Sacren @ 2014-04-05  6:28 UTC (permalink / raw)
  To: netdev

This tiny series fixes the same issue of duplicate #include headers.

Jean Sacren (2):
  sxgbe: fix duplicate #include headers
  mac802154: fix duplicate #include headers

 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 -
 net/mac802154/mib.c                            | 1 -
 2 files changed, 2 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH net 1/2] sxgbe: fix duplicate #include headers
  2014-04-05  6:28 [PATCH net 0/2] Fix duplicate #include headers Jean Sacren
@ 2014-04-05  6:29 ` Jean Sacren
  2014-04-07  9:46   ` Byungho An
  2014-04-05  6:29 ` [PATCH net 2/2] mac802154: " Jean Sacren
  2014-04-07 17:19 ` [PATCH net 0/2] Fix " David Miller
  2 siblings, 1 reply; 5+ messages in thread
From: Jean Sacren @ 2014-04-05  6:29 UTC (permalink / raw)
  To: netdev; +Cc: Byungho An, Girish K S, Siva Reddy Kallam, Vipul Pandya

The commit 1edb9ca69e8a ("net: sxgbe: add basic framework for
Samsung 10Gb ethernet driver") added support for Samsung 10Gb
ethernet driver(sxgbe) with a minor issue of including linux/io.h
header twice in sxgbe_dma.c file. Fix the duplicate #include by
deleting the top one so that all the rest good #include headers
would be preserved in the alphabetical order.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Byungho An <bh74.an@samsung.com>
Cc: Girish K S <ks.giri@samsung.com>
Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
Cc: Vipul Pandya <vipul.pandya@samsung.com>
---
 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
index 28f89c41d0cd..4d989ff6c978 100644
--- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
+++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
@@ -9,7 +9,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/export.h>
 #include <linux/io.h>

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH net 2/2] mac802154: fix duplicate #include headers
  2014-04-05  6:28 [PATCH net 0/2] Fix duplicate #include headers Jean Sacren
  2014-04-05  6:29 ` [PATCH net 1/2] sxgbe: fix " Jean Sacren
@ 2014-04-05  6:29 ` Jean Sacren
  2014-04-07 17:19 ` [PATCH net 0/2] Fix " David Miller
  2 siblings, 0 replies; 5+ messages in thread
From: Jean Sacren @ 2014-04-05  6:29 UTC (permalink / raw)
  To: netdev
  Cc: Alexander Smirnov, Dmitry Eremin-Solenikov, Phoebe Buckheister,
	linux-zigbee-devel

The commit e6278d92005e ("mac802154: use header operations to
create/parse headers") included the header

		net/ieee802154_netdev.h

which had been included by the commit b70ab2e87f17 ("ieee802154:
enforce consistent endianness in the 802.15.4 stack"). Fix this
duplicate #include by deleting the latter one as the required header
has already been in place.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Cc: linux-zigbee-devel@lists.sourceforge.net
---
 net/mac802154/mib.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c
index 153bd1ddbfbb..f0991f2344d4 100644
--- a/net/mac802154/mib.c
+++ b/net/mac802154/mib.c
@@ -26,7 +26,6 @@
 #include <net/mac802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/wpan-phy.h>
-#include <net/ieee802154_netdev.h>
 
 #include "mac802154.h"
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* RE: [PATCH net 1/2] sxgbe: fix duplicate #include headers
  2014-04-05  6:29 ` [PATCH net 1/2] sxgbe: fix " Jean Sacren
@ 2014-04-07  9:46   ` Byungho An
  0 siblings, 0 replies; 5+ messages in thread
From: Byungho An @ 2014-04-07  9:46 UTC (permalink / raw)
  To: 'Jean Sacren', netdev
  Cc: 'Girish K S', 'Siva Reddy Kallam',
	'Vipul Pandya'

Jean Sacren wrote:
> 
> The commit 1edb9ca69e8a ("net: sxgbe: add basic framework for
> Samsung 10Gb ethernet driver") added support for Samsung 10Gb
> ethernet driver(sxgbe) with a minor issue of including linux/io.h
> header twice in sxgbe_dma.c file. Fix the duplicate #include by
> deleting the top one so that all the rest good #include headers
> would be preserved in the alphabetical order.
> 
> Signed-off-by: Jean Sacren <sakiwit@gmail.com>
> Cc: Byungho An <bh74.an@samsung.com>

Acked-by: Byungho An <bh74.an@samsung.com>

Thanks,
Byungho

> Cc: Girish K S <ks.giri@samsung.com>
> Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
> Cc: Vipul Pandya <vipul.pandya@samsung.com>
> ---
>  drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> index 28f89c41d0cd..4d989ff6c978 100644
> --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c
> @@ -9,7 +9,6 @@
>   * it under the terms of the GNU General Public License version 2 as
>   * published by the Free Software Foundation.
>   */
> -#include <linux/io.h>
>  #include <linux/delay.h>
>  #include <linux/export.h>
>  #include <linux/io.h>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net 0/2] Fix duplicate #include headers
  2014-04-05  6:28 [PATCH net 0/2] Fix duplicate #include headers Jean Sacren
  2014-04-05  6:29 ` [PATCH net 1/2] sxgbe: fix " Jean Sacren
  2014-04-05  6:29 ` [PATCH net 2/2] mac802154: " Jean Sacren
@ 2014-04-07 17:19 ` David Miller
  2 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2014-04-07 17:19 UTC (permalink / raw)
  To: sakiwit; +Cc: netdev

From: Jean Sacren <sakiwit@gmail.com>
Date: Sat,  5 Apr 2014 00:28:59 -0600

> This tiny series fixes the same issue of duplicate #include headers.
> 
> Jean Sacren (2):
>   sxgbe: fix duplicate #include headers
>   mac802154: fix duplicate #include headers

Both applied, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-07 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05  6:28 [PATCH net 0/2] Fix duplicate #include headers Jean Sacren
2014-04-05  6:29 ` [PATCH net 1/2] sxgbe: fix " Jean Sacren
2014-04-07  9:46   ` Byungho An
2014-04-05  6:29 ` [PATCH net 2/2] mac802154: " Jean Sacren
2014-04-07 17:19 ` [PATCH net 0/2] Fix " David Miller

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).