Skip to contentSkip to conversation

Add missing braces to ath10k_pci_tx_pipe_cleanup

PATCH Applied Dave Jones 2 participants 2 messages Sep 5, 2013 – Sep 6, 2013 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

PATCH 1/1 Add missing braces to ath10k_pci_tx_pipe_cleanup

The indentation here implies this was meant to be a multi-statement if, but it lacks the braces.

drivers/net/wireless/ath/ath10k/pci.c +2 -1
index 33af467..31b69d3 100644
@@ -1200,7 +1200,7 @@ static void ath10k_pci_tx_pipe_cleanup(struct hif_ce_pipe_info *pipe_info)
 
 	while (ath10k_ce_cancel_send_next(ce_hdl, (void **)&netbuf,
 					  &ce_data, &nbytes, &id) == 0) {
-		if (netbuf != CE_SENDLIST_ITEM_CTXT)
+		if (netbuf != CE_SENDLIST_ITEM_CTXT) {
 			/*
 			 * Indicate the completion to higer layer to free
 			 * the buffer
@@ -1209,6 +1209,7 @@ static void ath10k_pci_tx_pipe_cleanup(struct hif_ce_pipe_info *pipe_info)
 			ar_pci->msg_callbacks_current.tx_completion(ar,
 								    netbuf,
 								    id);
+		}
 	}
 }
 

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Applied
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Dave Jones

The indentation here implies this was meant to be a multi-statement if, but it lacks the braces.

Thanks, applied.

I added "ath10k:" to the patch title.

Signature · 5 lines
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html