Commit b79fb98e authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: wr-nic: a typo and a printk warning

parent 94693680
...@@ -405,7 +405,7 @@ static void wrn_tx_interrupt(struct wrn_dev *wrn) ...@@ -405,7 +405,7 @@ static void wrn_tx_interrupt(struct wrn_dev *wrn)
u32 reg; u32 reg;
int i; int i;
/* Loop using our talil until one is not sent */ /* Loop using our tail until one is not sent */
while ( (i = wrn->next_tx_tail) != wrn->next_tx_head) { while ( (i = wrn->next_tx_tail) != wrn->next_tx_head) {
/* Check if this is txdone */ /* Check if this is txdone */
tx = wrn->txd + i; tx = wrn->txd + i;
...@@ -415,7 +415,7 @@ static void wrn_tx_interrupt(struct wrn_dev *wrn) ...@@ -415,7 +415,7 @@ static void wrn_tx_interrupt(struct wrn_dev *wrn)
skb = wrn->skb_desc[i].skb; skb = wrn->skb_desc[i].skb;
if (!skb) { if (!skb) {
pr_err("no socket in descriptor %i\n"); pr_err("no socket in descriptor %i\n", i);
return; return;
} }
info = skb_shinfo(skb); info = skb_shinfo(skb);
......
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