2009/4/16 H Hartley Sweeten <hartleys@visionengravers.com>:
Hi,
Just a heads up: There seems to be some sort of consensus that this
type of patch title is not a very good one. (What about "remove
variable shadowing"?)
It would also be nice to have an explanation of where the __mptr
symbol comes into play, because it doesn't even appear in the patch,
and reviewers would likely have an easier job if they knew where to
look it up.
Was this warning harmless, or was the code in fact broken?
Can we rewrite container_of() to not use an extra variable (__mptr),
or perhaps using an inline function for part of the computation?
Do we also have this problem in expressions like max(max(x, y), z)?
Thanks :-)
Vegard
--