Skip to content

Commit cf80063

Browse files
hanneseder-netdavem330
authored andcommitted
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>
1 parent dfe925e commit cf80063

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/isdn/act2000/act2000_isa.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ act2000_isa_receive(act2000_card *card)
257257
printk(KERN_WARNING
258258
"act2000_isa_receive: Invalid CAPI msg\n");
259259
{
260-
int i; __u8 *p; __u8 *c; __u8 tmp[30];
261-
for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, c = tmp; i < 8; i++)
262-
c += sprintf(c, "%02x ", *(p++));
260+
int i; __u8 *p; __u8 *t; __u8 tmp[30];
261+
for (i = 0, p = (__u8 *)&card->idat.isa.rcvhdr, t = tmp; i < 8; i++)
262+
t += sprintf(t, "%02x ", *(p++));
263263
printk(KERN_WARNING "act2000_isa_receive: %s\n", tmp);
264264
}
265265
}

0 commit comments

Comments
 (0)