drivers/isdn/act2000: fix sparse warning: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 13:09:52 +0000 (13:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 09:00:41 +0000 (01:00 -0800)
Impact: Rename local variable 'c' to 't'.

Fix this sparse warning:
  drivers/isdn/act2000/act2000_isa.c:260:70: warning: symbol 'c' shadows an earlier one

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/act2000/act2000_isa.c

index 1bd8960ead3398654970dd627f516f3f8a7a1f3c..fea5b783335d5ba8ead97d03e93dfc0cfdc112a7 100644 (file)
@@ -257,9 +257,9 @@ act2000_isa_receive(act2000_card *card)
                                        printk(KERN_WARNING
                                               "act2000_isa_receive: Invalid CAPI msg\n");
                                        {
-                                               int i; __u8 *p; __u8 *c; __u8 tmp[30];
-                                               for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, c = tmp; i < 8; i++)
-                                                       c += sprintf(c, "%02x ", *(p++));
+                                               int i; __u8 *p; __u8 *t; __u8 tmp[30];
+                                               for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, t = tmp; i < 8; i++)
+                                                       t += sprintf(t, "%02x ", *(p++));
                                                printk(KERN_WARNING "act2000_isa_receive: %s\n", tmp);
                                        }
                                }