[PATCH v2 0/7] mtd: denali: A collection of trivial coding style fixes

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Sep 16 04:08:41 PDT 2014


Hi Brian,



On Mon, 15 Sep 2014 22:07:32 -0700
Brian Norris <computersforpeace at gmail.com> wrote:

> Hi Masahiro,
> 
> On Tue, Sep 16, 2014 at 11:11:58AM +0900, Masahiro Yamada wrote:
> > On Mon, 15 Sep 2014 17:36:20 -0700 Brian Norris <computersforpeace at gmail.com> wrote:
> > > On Tue, Sep 09, 2014 at 11:01:50AM +0900, Masahiro Yamada wrote:
> > > > Changes in v2:
> > > >   - Join quotes strings into a single line
> > > > 
> > > > Masahiro Yamada (7):
> > > >   mtd: denali: fix the format of comment blocks
> > > >   mtd: denali: remove unnecessary variable initializations
> > > >   mtd: denali: remove unnecessary casts
> > > >   mtd: denali: change the type of iterators to int
> > > >   mtd: denali: remove a set-but-unused variable
> > > >   mtd: denali: remove unnecessary parentheses
> > > >   mtd: denali: fix indents and other trivial things
> > > > 
> > > >  drivers/mtd/nand/denali.c | 562 +++++++++++++++++++++++++---------------------
> > > >  1 file changed, 303 insertions(+), 259 deletions(-)
> > > 
> > > Pushed patches 1 to 5 to l2-mtd.git. Thanks!
> > > 
> > > Patch 6 has a conflict with another fix already in l2-mtd.git. Can you
> > > rebase and resend?
> > 
> > Sorry for my ignorance, but where can I find l2-mtd.git?
> 
> git://git.infradead.org/l2-mtd.git
> 
> > In my understanding, the subsystem repositories should be documented
> > in MAINTAINERS, so I looked for it but just found
> > T:    git git://git.infradead.org/linux-mtd.git.
> > I do not think it is the one you mentioned.
> 
> Sorry, apparently l2-mtd.git is not in MAINTAINERS. It historically has
> been a kind of queue for the official repo (linux-mtd.git), especially
> when work was split up between two people. I handle most of it now.
> 
> I guess it should be in MAINTAINERS, though, since most people will need
> to base patches on it. I just sent a patch to add it.


Thanks for explaining this, and I also appreciate your patch!


> > > BTW, my automatic build tests show that there's at least one other
> > > 'unused' warning left, in case you want to tackle it too:
> > > 
> > >     drivers/mtd/nand/denali.c: In function ‘denali_read_page_raw’:
> > >     drivers/mtd/nand/denali.c:1221:11: warning: variable ‘irq_status’ set but not used [-Wunused-but-set-variable]
> > >           uint32_t irq_status;
> > > 
> > 
> > You are right.
> > (What is odd enough is this warning was not displayed on my build test.
> > I do not know why.)
> 
> I enabled extra warnings. I think you can get most of those with 'make
> W=1'.

I missed it. Thanks!

> > Is there a chance for me to resend 5/7 to include this fix?
> > Or is it too late?
> 
> Just send a new patch, please.


I've resent 5/7 thru 7/7.



Best Regards
Masahiro Yamada




More information about the linux-mtd mailing list