ChangeSet 1.2199.14.10, 2005/03/23 10:53:53-08:00, [EMAIL PROTECTED]

        [ATM]: [nicstar] fix some sparse warnings
        
        Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
        Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
        Signed-off-by: Chas Williams <[EMAIL PROTECTED]>
        Signed-off-by: David S. Miller <[EMAIL PROTECTED]>



 nicstar.c |    4 ++--
 nicstar.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
--- a/drivers/atm/nicstar.c     2005-03-26 17:19:24 -08:00
+++ b/drivers/atm/nicstar.c     2005-03-26 17:19:24 -08:00
@@ -350,7 +350,7 @@
    kfree(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 @@
    }
    if (error >= 4)
    {
-      iounmap((void *) card->membase);
+      iounmap(card->membase);
    }
    if (error >= 3)
    {
diff -Nru a/drivers/atm/nicstar.h b/drivers/atm/nicstar.h
--- a/drivers/atm/nicstar.h     2005-03-26 17:19:24 -08:00
+++ b/drivers/atm/nicstar.h     2005-03-26 17:19:24 -08:00
@@ -739,8 +739,8 @@
 
 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 */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to