Messages in this thread | | | Date | Thu, 14 Feb 2013 14:37:51 +0000 | From | Dimitris Papastamos <> | Subject | Re: [PATCH v2] regmap: debugfs: Simplify calculation of `c->max_reg' |
| |
On Thu, Feb 14, 2013 at 02:14:40PM +0000, Mark Brown wrote: > On Thu, Feb 14, 2013 at 02:04:04PM +0000, Dimitris Papastamos wrote: > > > - unsigned int i, ret; > > + unsigned int i = 0, ret; > > Coding style and are you sure this is a good default.
Hm, it doesn't really matter. I guess the proper fix would be to set i = base at the start, but that would not change anything in terms of the actual code flow, it would only silence the gcc flow analysis bug.
Thanks, Dimitris
| |