Skip to contentSkip to conversation

qlge: ql_adapter_down() typo

PATCH Applied Roel Kluin 3 participants 3 messages Dec 21, 2008 – Dec 26, 2008

Subsystems (2)
lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 qlge: ql_adapter_down() typo

---

drivers/net/qlge/qlge_main.c +1 -1
index b83a9c9..4a66aa5 100644
@@ -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
#1 lore raw

Thanks Roel

Quoted 15 lines · Roel Kluin

---

drivers/net/qlge/qlge_main.c +1 -1
index b83a9c9..4a66aa5 100644
@@ -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