Skip to contentSkip to conversation

isdn: hfc4s8s_ll sparse cleanups

PATCH New Randy.Dunlap 1 participant 1 message Mar 28, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 isdn: hfc4s8s_ll sparse cleanups

drivers/isdn/hisax/hfc4s8s_l1.c:1661:7: warning: obsolete struct initializer, us e C99 syntax
drivers/isdn/hisax/hfc4s8s_l1.c:1662:7: warning: obsolete struct initializer, us e C99 syntax
drivers/isdn/hisax/hfc4s8s_l1.c:1663:7: warning: obsolete struct initializer, us e C99 syntax
drivers/isdn/hisax/hfc4s8s_l1.c:1664:7: warning: obsolete struct initializer, us e C99 syntax
drivers/isdn/hisax/hfc4s8s_l1.c:1065:18: warning: Using plain integer as NULL po inter

diffstat:=

 drivers/isdn/hisax/hfc4s8s_l1.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
drivers/isdn/hisax/hfc4s8s_l1.c renamed from drivers/isdn/hisax/hfc4s8s_l1.c~isdn_hfcssll_clean +5 -5
diff -Naurp ./drivers/isdn/hisax/hfc4s8s_l1.c~isdn_hfcssll_clean ./drivers/isdn/hisax/hfc4s8s_l1.c
@@ -1062,7 +1062,7 @@ tx_b_frame(struct hfc4s8s_btype *bch)
 				Write_hfc8(l1->hw, A_INC_RES_FIFO, 1);
 			}
 			ack_len += skb->truesize;
-			bch->tx_skb = 0;
+			bch->tx_skb = NULL;
 			bch->tx_cnt = 0;
 			dev_kfree_skb(skb);
 		} else
@@ -1658,10 +1658,10 @@ hfc4s8s_remove(struct pci_dev *pdev)
 }
 
 static struct pci_driver hfc4s8s_driver = {
-      name:"hfc4s8s_l1",
-      probe:hfc4s8s_probe,
-      remove:__devexit_p(hfc4s8s_remove),
-      id_table:hfc4s8s_ids,
+      .name	= "hfc4s8s_l1",
+      .probe	= hfc4s8s_probe,
+      .remove	= __devexit_p(hfc4s8s_remove),
+      .id_table	= hfc4s8s_ids,
 };
 
 /**********************/

---