2010-11-29 07:17:50

by Toshiharu Okada

[permalink] [raw]
Subject: [PATCH 2/2] pch_gbe driver: The wrong of initializer entry

The wrong of initializer entry was modified.

Signed-off-by: Toshiharu Okada <[email protected]>
Reported-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/net/pch_gbe/pch_gbe_param.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/pch_gbe/pch_gbe_param.c b/drivers/net/pch_gbe/pch_gbe_param.c
index 2510146..ef0996a 100644
--- a/drivers/net/pch_gbe/pch_gbe_param.c
+++ b/drivers/net/pch_gbe/pch_gbe_param.c
@@ -434,8 +434,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter)
.err = "using default of "
__MODULE_STRING(PCH_GBE_DEFAULT_TXD),
.def = PCH_GBE_DEFAULT_TXD,
- .arg = { .r = { .min = PCH_GBE_MIN_TXD } },
- .arg = { .r = { .max = PCH_GBE_MAX_TXD } }
+ .arg = { .r = { .min = PCH_GBE_MIN_TXD,
+ .max = PCH_GBE_MAX_TXD } }
};
struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring;
tx_ring->count = TxDescriptors;
@@ -450,8 +450,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter)
.err = "using default of "
__MODULE_STRING(PCH_GBE_DEFAULT_RXD),
.def = PCH_GBE_DEFAULT_RXD,
- .arg = { .r = { .min = PCH_GBE_MIN_RXD } },
- .arg = { .r = { .max = PCH_GBE_MAX_RXD } }
+ .arg = { .r = { .min = PCH_GBE_MIN_RXD,
+ .max = PCH_GBE_MAX_RXD } }
};
struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring;
rx_ring->count = RxDescriptors;
-- 1.6.2.5


2010-11-29 16:52:29

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 2/2] pch_gbe driver: The wrong of initializer entry

From: Toshiharu Okada <[email protected]>
Date: Tue, 30 Nov 2010 01:18:07 +0900

> The wrong of initializer entry was modified.
>
> Signed-off-by: Toshiharu Okada <[email protected]>
> Reported-by: Dr. David Alan Gilbert <[email protected]>

Applied.

2010-11-29 18:32:41

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: Re: [PATCH 2/2] pch_gbe driver: The wrong of initializer entry

* Toshiharu Okada ([email protected]) wrote:
> The wrong of initializer entry was modified.
>
> Signed-off-by: Toshiharu Okada <[email protected]>
> Reported-by: Dr. David Alan Gilbert <[email protected]>

Thanks.

Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ gro.gilbert @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/