netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata
@ 2013-08-07 10:38 Sachin Kamat
  2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
  2013-08-09 20:24 ` [PATCH 1/2] net: wan: sbni: " David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-08-07 10:38 UTC (permalink / raw)
  To: netdev; +Cc: davem, sachin.kamat, rl

__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/net/wan/sbni.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index d43f4ef..5bbcb5e 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -176,7 +176,7 @@ static u32	mac[  SBNI_MAX_NUM_CARDS ] __initdata;
 
 #ifndef MODULE
 typedef u32  iarr[];
-static iarr __initdata *dest[5] = { &io, &irq, &baud, &rxl, &mac };
+static iarr *dest[5] __initdata = { &io, &irq, &baud, &rxl, &mac };
 #endif
 
 /* A zero-terminated list of I/O addresses to be probed on ISA bus */
-- 
1.7.9.5

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

* [PATCH 2/2] net: via-rhine: Fix incorrect placement of __initdata
  2013-08-07 10:38 [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata Sachin Kamat
@ 2013-08-07 10:38 ` Sachin Kamat
  2013-08-09 20:24   ` David Miller
  2013-08-09 20:24 ` [PATCH 1/2] net: wan: sbni: " David Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2013-08-07 10:38 UTC (permalink / raw)
  To: netdev; +Cc: davem, sachin.kamat, rl

__initdata should be placed between the variable name and equal
sign for the variable to be placed in the intended section.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/net/ethernet/via/via-rhine.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c
index b75eb9e..c8f088a 100644
--- a/drivers/net/ethernet/via/via-rhine.c
+++ b/drivers/net/ethernet/via/via-rhine.c
@@ -2407,7 +2407,7 @@ static struct pci_driver rhine_driver = {
 	.driver.pm	= RHINE_PM_OPS,
 };
 
-static struct dmi_system_id __initdata rhine_dmi_table[] = {
+static struct dmi_system_id rhine_dmi_table[] __initdata = {
 	{
 		.ident = "EPIA-M",
 		.matches = {
-- 
1.7.9.5

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

* Re: [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata
  2013-08-07 10:38 [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata Sachin Kamat
  2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
@ 2013-08-09 20:24 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2013-08-09 20:24 UTC (permalink / raw)
  To: sachin.kamat; +Cc: netdev, rl

From: Sachin Kamat <sachin.kamat@linaro.org>
Date: Wed,  7 Aug 2013 16:08:15 +0530

> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Applied.

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

* Re: [PATCH 2/2] net: via-rhine: Fix incorrect placement of __initdata
  2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
@ 2013-08-09 20:24   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-08-09 20:24 UTC (permalink / raw)
  To: sachin.kamat; +Cc: netdev, rl

From: Sachin Kamat <sachin.kamat@linaro.org>
Date: Wed,  7 Aug 2013 16:08:16 +0530

> __initdata should be placed between the variable name and equal
> sign for the variable to be placed in the intended section.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Applied.

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

end of thread, other threads:[~2013-08-09 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-07 10:38 [PATCH 1/2] net: wan: sbni: Fix incorrect placement of __initdata Sachin Kamat
2013-08-07 10:38 ` [PATCH 2/2] net: via-rhine: " Sachin Kamat
2013-08-09 20:24   ` David Miller
2013-08-09 20:24 ` [PATCH 1/2] net: wan: sbni: " 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).