Re: [PATCH] netdev_alloc_pcpu_stats: use less common iterator variable

2015-04-23 Thread David Miller
From: Johannes Berg Date: Thu, 23 Apr 2015 12:06:30 +0200 > From: Johannes Berg > > With the CPU iteration variable called 'i', it's relatively easy > to have variable shadowing which sparse will warn about. Avoid > that by renaming the variable to __cpu which is less likely to > be used in the

[PATCH] netdev_alloc_pcpu_stats: use less common iterator variable

2015-04-23 Thread Johannes Berg
From: Johannes Berg With the CPU iteration variable called 'i', it's relatively easy to have variable shadowing which sparse will warn about. Avoid that by renaming the variable to __cpu which is less likely to be used in the surrounding context. Signed-off-by: Johannes Berg --- include/linux/