genhd: overlapping variable definition
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 6 Jan 2010 23:45:55 +0000 (15:45 -0800)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 Jan 2010 13:32:44 +0000 (14:32 +0100)
commit7af92f8754b87bc78cbfd447d5f4096b25c46682
treec165aba0edf277d5d2a4865641705365c14dd726
parentce289321b7dc1eb108e3df0dec872b7429ef49f7
genhd: overlapping variable definition

This fixes the sparse warning:
fs/ext4/super.c:2390:40: warning: symbol 'i' shadows an earlier one
fs/ext4/super.c:2368:22: originally declared here

Using 'i' in a macro is dubious practice.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/genhd.h