diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-25 08:09:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 04:00:41 -0500 |
commit | cf80063a7d8b1b477236e5491730c1ff71fc5577 (patch) | |
tree | b1c416ab952d188955a94531c3d4d1e249bfff9f /drivers/isdn | |
parent | dfe925e8e9058c8af0d203ae7262437235623a68 (diff) |
drivers/isdn/act2000: fix sparse warning: symbol shadows an earlier one
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/act2000/act2000_isa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/act2000/act2000_isa.c b/drivers/isdn/act2000/act2000_isa.c index 1bd8960ead33..fea5b783335d 100644 --- a/drivers/isdn/act2000/act2000_isa.c +++ b/drivers/isdn/act2000/act2000_isa.c | |||
@@ -257,9 +257,9 @@ act2000_isa_receive(act2000_card *card) | |||
257 | printk(KERN_WARNING | 257 | printk(KERN_WARNING |
258 | "act2000_isa_receive: Invalid CAPI msg\n"); | 258 | "act2000_isa_receive: Invalid CAPI msg\n"); |
259 | { | 259 | { |
260 | int i; __u8 *p; __u8 *c; __u8 tmp[30]; | 260 | int i; __u8 *p; __u8 *t; __u8 tmp[30]; |
261 | for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, c = tmp; i < 8; i++) | 261 | for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, t = tmp; i < 8; i++) |
262 | c += sprintf(c, "%02x ", *(p++)); | 262 | t += sprintf(t, "%02x ", *(p++)); |
263 | printk(KERN_WARNING "act2000_isa_receive: %s\n", tmp); | 263 | printk(KERN_WARNING "act2000_isa_receive: %s\n", tmp); |
264 | } | 264 | } |
265 | } | 265 | } |