drivers/atm/nicstar.c: fix some sparse warnings
Subsystems (2)
PATCH 1/1 drivers/atm/nicstar.c: fix some sparse warnings
Signed-off-by Alexey Dobriyan <[email protected]>
drivers/atm/nicstar.c +2 -2
@@ -350,7 +350,7 @@ static void __devexit nicstar_remove_onekfree (card->rsq.org);kfree (card->tsq.org);free_irq (card->pcidev->irq, card); -iounmap ((void *) card->membase); +iounmap (card->membase);kfree (card); }
@@ -976,7 +976,7 @@ static void __devinit ns_init_card_error }if (error >=4 ) { -iounmap ((void *) card->membase); +iounmap (card->membase); }if (error >=3 ) {
drivers/atm/nicstar.h +2 -2
@@ -739,8 +739,8 @@ typedef struct skb_pool typedef struct vc_map { - volatile int tx:1; /* TX vc? */ - volatile int rx:1; /* RX vc? */ + volatile unsigned int tx:1; /* TX vc? */ + volatile unsigned int rx:1; /* RX vc? */ struct atm_vcc *tx_vcc, *rx_vcc; struct sk_buff *rx_iov; /* RX iovector skb */ scq_info *scq; /* To keep track of the SCQ */
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors