Commit 50a42053 authored by Toshiharu Okada's avatar Toshiharu Okada Committed by David S. Miller

pch_gbe driver: The wrong of initializer entry

The wrong of initializer entry was modified.
Signed-off-by: default avatarToshiharu Okada <toshiharu-linux@dsn.okisemi.com>
Reported-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a1dcfcb7
...@@ -434,8 +434,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter) ...@@ -434,8 +434,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter)
.err = "using default of " .err = "using default of "
__MODULE_STRING(PCH_GBE_DEFAULT_TXD), __MODULE_STRING(PCH_GBE_DEFAULT_TXD),
.def = PCH_GBE_DEFAULT_TXD, .def = PCH_GBE_DEFAULT_TXD,
.arg = { .r = { .min = PCH_GBE_MIN_TXD } }, .arg = { .r = { .min = PCH_GBE_MIN_TXD,
.arg = { .r = { .max = PCH_GBE_MAX_TXD } } .max = PCH_GBE_MAX_TXD } }
}; };
struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring; struct pch_gbe_tx_ring *tx_ring = adapter->tx_ring;
tx_ring->count = TxDescriptors; tx_ring->count = TxDescriptors;
...@@ -450,8 +450,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter) ...@@ -450,8 +450,8 @@ void pch_gbe_check_options(struct pch_gbe_adapter *adapter)
.err = "using default of " .err = "using default of "
__MODULE_STRING(PCH_GBE_DEFAULT_RXD), __MODULE_STRING(PCH_GBE_DEFAULT_RXD),
.def = PCH_GBE_DEFAULT_RXD, .def = PCH_GBE_DEFAULT_RXD,
.arg = { .r = { .min = PCH_GBE_MIN_RXD } }, .arg = { .r = { .min = PCH_GBE_MIN_RXD,
.arg = { .r = { .max = PCH_GBE_MAX_RXD } } .max = PCH_GBE_MAX_RXD } }
}; };
struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring; struct pch_gbe_rx_ring *rx_ring = adapter->rx_ring;
rx_ring->count = RxDescriptors; rx_ring->count = RxDescriptors;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment