netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] qlge: ql_adapter_down() typo
@ 2008-12-21 15:28 Roel Kluin
  2008-12-22 16:55 ` Ron Mercer
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2008-12-21 15:28 UTC (permalink / raw)
  To: ron.mercer; +Cc: netdev

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index b83a9c9..4a66aa5 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -3156,7 +3156,7 @@ static int ql_adapter_down(struct ql_adapter *qdev)
 	 * a workqueue only if it's a single interrupt
 	 * environment (MSI/Legacy).
 	 */
-	for (i = 1; i > qdev->rx_ring_count; i++) {
+	for (i = 1; i < qdev->rx_ring_count; i++) {
 		rx_ring = &qdev->rx_ring[i];
 		/* Only the RSS rings use NAPI on multi irq
 		 * environment.  Outbound completion processing


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

* Re: [PATCH] qlge: ql_adapter_down() typo
  2008-12-21 15:28 [PATCH] qlge: ql_adapter_down() typo Roel Kluin
@ 2008-12-22 16:55 ` Ron Mercer
  2008-12-26  1:24   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Ron Mercer @ 2008-12-22 16:55 UTC (permalink / raw)
  To: Roel Kluin; +Cc: netdev@vger.kernel.org

Thanks Roel

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>

On Sun, Dec 21, 2008 at 07:28:30AM -0800, Roel Kluin wrote:
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> ---
> diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
> index b83a9c9..4a66aa5 100644
> --- a/drivers/net/qlge/qlge_main.c
> +++ b/drivers/net/qlge/qlge_main.c
> @@ -3156,7 +3156,7 @@ static int ql_adapter_down(struct ql_adapter *qdev)
>  	 * a workqueue only if it's a single interrupt
>  	 * environment (MSI/Legacy).
>  	 */
> -	for (i = 1; i > qdev->rx_ring_count; i++) {
> +	for (i = 1; i < qdev->rx_ring_count; i++) {
>  		rx_ring = &qdev->rx_ring[i];
>  		/* Only the RSS rings use NAPI on multi irq
>  		 * environment.  Outbound completion processing

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

* Re: [PATCH] qlge: ql_adapter_down() typo
  2008-12-22 16:55 ` Ron Mercer
@ 2008-12-26  1:24   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2008-12-26  1:24 UTC (permalink / raw)
  To: ron.mercer; +Cc: roel.kluin, netdev

From: Ron Mercer <ron.mercer@qlogic.com>
Date: Mon, 22 Dec 2008 08:55:07 -0800

> Thanks Roel
> 
> Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>

Applied, thanks everyone.

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

end of thread, other threads:[~2008-12-26  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-21 15:28 [PATCH] qlge: ql_adapter_down() typo Roel Kluin
2008-12-22 16:55 ` Ron Mercer
2008-12-26  1:24   ` 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).