[PATCH] mtd:spi-nor: Add lock and unlock callback functions to struct spi_nor
Brian Norris
computersforpeace at gmail.com
Fri Mar 27 10:40:42 PDT 2015
On Fri, Mar 20, 2015 at 09:15:48AM +0800, Viet Nga Dao wrote:
> On Fri, Mar 20, 2015 at 1:49 AM, Brian Norris <computersforpeace at gmail.com> wrote:
> > On Mon, Mar 16, 2015 at 01:15:14AM -0700, vndao at altera.com wrote:
> >> From: VIET NGA DAO <vndao at altera.com>
> >>
> >> This patch introduces a properly-replaceable spi_nor callback that does
> >> flash specific lock and unlock. The existing code for spi_nor_lock and
> >> spi_nor_unlock is moved into their own functions which are stm_lock and
> >> stm_unlock.
> >
> > I'm curious; is this a complete ripoff of my code [1]? You haven't
> > credited my authorship at all. That's a big no-no. Typically you keep
> > the 'From:' and Signed-off-by of the original author if you're going to
> > modify/redistribute it. (Admittedly, I didn't provide the S-o-b on my
> > informal patch.)
> >
> > Anyway, that's all fine this time, but please avoid doing this in the
> > future; I can fix up the authorship, etc., and apply it, if it gets an
> > Ack/Tested-by from one or more reviewers (e.g., you). BTW, I hope you at
> > least tested this, right?
>
> Hi Brian,
> I am so sorry for this mistake. it is not my intention. :( I am new
> to kernel driver and up-streaming thing, that is why i do not know the
> proper way. Yes, please change the authorship to you.
> Yes, i tested it.
OK, no worries. Applied my own version (only differed by whitespace) and
added your Tested-by.
Brian
More information about the linux-mtd
mailing list