[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150423.114143.628350974842866662.davem@davemloft.net>
Date: Thu, 23 Apr 2015 11:41:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: johannes@...solutions.net
Cc: netdev@...r.kernel.org, johannes.berg@...el.com
Subject: Re: [PATCH] netdev_alloc_pcpu_stats: use less common iterator
variable
From: Johannes Berg <johannes@...solutions.net>
Date: Thu, 23 Apr 2015 12:06:30 +0200
> From: Johannes Berg <johannes.berg@...el.com>
>
> 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 <johannes.berg@...el.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists