[RFC,v4,1/1] mtd: rawnand: mtk: Re-license MTK NAND driver as Dual MIT/GPL
diff mbox series

Message ID 20190507092020.1917-2-xiaolei.li@mediatek.com
State Superseded
Delegated to: Miquel Raynal
Headers show
Series
  • Re-license MTK NAND driver
Related show

Commit Message

xiaolei li May 7, 2019, 9:20 a.m. UTC
It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
But now it is only licensed as GPL-2.0.
So re-license it as dual MIT/GPL and replace license text with
SPDX tag.

Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
---
 drivers/mtd/nand/raw/mtk_ecc.c  | 12 ++----------
 drivers/mtd/nand/raw/mtk_ecc.h  |  4 +---
 drivers/mtd/nand/raw/mtk_nand.c | 12 ++----------
 3 files changed, 5 insertions(+), 23 deletions(-)

Comments

Miquel Raynal May 7, 2019, 10:06 a.m. UTC | #1
Hi Xiaolei,

Xiaolei Li <xiaolei.li@mediatek.com> wrote on Tue, 7 May 2019 17:20:20
+0800:

> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> But now it is only licensed as GPL-2.0.
> So re-license it as dual MIT/GPL and replace license text with
> SPDX tag.
> 
> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> ---

When there is only one patch, no need to create a cover letter. You can
put the text which is in 0/1 below the three dashes '---'.

Also no need to send a new version while there is nothing changed in
the code. Patchwork automatically collects tags.


Thanks,
Miquèl
xiaolei li May 7, 2019, 10:18 a.m. UTC | #2
Hi Miquel,

On Tue, 2019-05-07 at 12:06 +0200, Miquel Raynal wrote:
> Hi Xiaolei,
> 
> Xiaolei Li <xiaolei.li@mediatek.com> wrote on Tue, 7 May 2019 17:20:20
> +0800:
> 
> > It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> > But now it is only licensed as GPL-2.0.
> > So re-license it as dual MIT/GPL and replace license text with
> > SPDX tag.
> > 
> > Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> > Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> > Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> > Acked-by: Rafał Miłecki <rafal@milecki.pl>
> > Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> > Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> > Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> > ---
> 
> When there is only one patch, no need to create a cover letter. You can
> put the text which is in 0/1 below the three dashes '---'.
> 
> Also no need to send a new version while there is nothing changed in
> the code. Patchwork automatically collects tags.
OKOK. Thanks.

Xiaolei
> 
> 
> Thanks,
> Miquèl
Rafał Miłecki May 7, 2019, 10:48 a.m. UTC | #3
Arnd: would you send you Ack, just so we are 100% on a legal side?


On 07.05.2019 11:20, Xiaolei Li wrote:
> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> But now it is only licensed as GPL-2.0.
> So re-license it as dual MIT/GPL and replace license text with
> SPDX tag.
> 
> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>


For mtk_nand.c we are missing acks from (co-)authors of following commits:
1) Wei:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07f76443ef81e2b76bb6f7858ba183cd60357ada
2) Peter:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4092d76a4a4e57b65910899948a83cc8646c5a5
3) Masahiro:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f0dbe4aa35e73e4282d9446abb8900ab0636d483

All are absolutely trivial.


For mtk_ecc.c are are missing acks from (co-)authors of following commits:
1) Wen:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0119720a00b20074a51245427f05366ede2fa90a
2) Gustavo:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=238709b22097a16839078530e0a10812dde86f16
3) Arnd:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ff0513bdcdd71e84aa561cce216675d43fb41b8

The only /complex/ change is from Arnd. I'm not sure if that is
copyrightable or not.




# git log --follow drivers/mtd/nand/raw/mtk_nand.c | grep "Signed-off-by" | sort | uniq -c | sort -n -r
      20     Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
      18     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
      15     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
       6     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
       3     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
       2     Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
       1     Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
       1     Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
       1     Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
       1     Signed-off-by: Peter Pan <peterpandong@micron.com>
       1     Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
       1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
       1     Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>

* Boris (contributor of 34 changes) - Acked
* Miquel (contributor of 22 changes) - Acked
* Xiaolei (contributor of 6 changes) - Signed
* RogerCC (contributor of 3 changes) - Acked
* Rafał (contributor of 1 change) - Acked
* Jorge (contributor of 1 change) - Acked
* Ryder (contributor of 1 change) - Acked

* Wei (contributor of 1 change):
07f76443ef81 ("mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_probe()")

* Peter (contributor of 1 change):
d4092d76a4a4 ("mtd: nand: Rename nand.h into rawnand.h")

* Masahiro (contributor of 1 change):
f0dbe4aa35e7 ("mtd: nand: mediatek: return error code of nand_scan_ident/tail() on error")




# git log --follow drivers/mtd/nand/raw/mtk_ecc.c | grep "Signed-off-by" | sort | uniq -c | sort -n -r
      13     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
       6     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
       3     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
       2     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
       1     Signed-off-by: Wen Yang <yellowriver2010@hotmail.com>
       1     Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
       1     Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
       1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
       1     Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
       1     Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
       1     Signed-off-by: Arnd Bergmann <arnd@arndb.de>

* Boris (contributor of 15 changes) - Acked
* Xiaolei (contributor of 6 changes) - Signed
* RogerCC (contributor of 3 changes) - Acked
* Ryder (contributor of 1 change) - Acked
* Miquel (contributor of 1 change) - Acked
* Jorge (contributor of 1 change) - Acked
* Dan (contributor of 1 change) - Acked

* Wen (contributor of 1 change):
0119720a00b2 ("mtd: rawnand: mtk: fix possible object reference leak")

* Gustavo (contributor of 1 change):
238709b22097 ("mtd: nand: mtk: fix error return code in mtk_ecc_probe()")

* Arnd (contributor of 1 change):
8ff0513bdcdd ("mtd: mtk: avoid warning in mtk_ecc_encode")




# git log --follow drivers/mtd/nand/raw/mtk_ecc.h | grep "Signed-off-by" | sort | uniq -c | sort -n -r
       3     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
       1     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
       1     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
       1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
       1     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>

* Boris (contributor of 4 changes) - Acked
* Xiaolei (contributor of 1 change) - Signed
* RogerCC (contributor of 1 change) - Acked
* Jorge (contributor of 1 change) - Acked
xiaolei li May 17, 2019, 1:42 a.m. UTC | #4
Hi Arnd,

You ever sent one patch to improve MTK NAND driver,
commit 8ff0513bdcdd ("mtd: mtk: avoid warning in mtk_ecc_encode")

Now we want to relicense MTK NAND driver as Dual MIT/GPL and wish to get
your ACK.

It will be helpful if you can send your ACK.

Thanks,
Xiaolei

On Tue, 2019-05-07 at 12:48 +0200, Rafał Miłecki wrote:
> Arnd: would you send you Ack, just so we are 100% on a legal side?
> 
> 
> On 07.05.2019 11:20, Xiaolei Li wrote:
> > It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> > But now it is only licensed as GPL-2.0.
> > So re-license it as dual MIT/GPL and replace license text with
> > SPDX tag.
> > 
> > Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> > Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> > Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> > Acked-by: Rafał Miłecki <rafal@milecki.pl>
> > Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> > Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> > Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> 
> 
> For mtk_nand.c we are missing acks from (co-)authors of following commits:
> 1) Wei:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07f76443ef81e2b76bb6f7858ba183cd60357ada
> 2) Peter:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4092d76a4a4e57b65910899948a83cc8646c5a5
> 3) Masahiro:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f0dbe4aa35e73e4282d9446abb8900ab0636d483
> 
> All are absolutely trivial.
> 
> 
> For mtk_ecc.c are are missing acks from (co-)authors of following commits:
> 1) Wen:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0119720a00b20074a51245427f05366ede2fa90a
> 2) Gustavo:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=238709b22097a16839078530e0a10812dde86f16
> 3) Arnd:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ff0513bdcdd71e84aa561cce216675d43fb41b8
> 
> The only /complex/ change is from Arnd. I'm not sure if that is
> copyrightable or not.
> 
> 
> 
> 
> # git log --follow drivers/mtd/nand/raw/mtk_nand.c | grep "Signed-off-by" | sort | uniq -c | sort -n -r
>       20     Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
>       18     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
>       15     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
>        6     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>        3     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
>        2     Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
>        1     Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
>        1     Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
>        1     Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
>        1     Signed-off-by: Peter Pan <peterpandong@micron.com>
>        1     Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>        1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>        1     Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
> 
> * Boris (contributor of 34 changes) - Acked
> * Miquel (contributor of 22 changes) - Acked
> * Xiaolei (contributor of 6 changes) - Signed
> * RogerCC (contributor of 3 changes) - Acked
> * Rafał (contributor of 1 change) - Acked
> * Jorge (contributor of 1 change) - Acked
> * Ryder (contributor of 1 change) - Acked
> 
> * Wei (contributor of 1 change):
> 07f76443ef81 ("mtd: nand: mediatek: remove redundant dev_err call in mtk_nfc_probe()")
> 
> * Peter (contributor of 1 change):
> d4092d76a4a4 ("mtd: nand: Rename nand.h into rawnand.h")
> 
> * Masahiro (contributor of 1 change):
> f0dbe4aa35e7 ("mtd: nand: mediatek: return error code of nand_scan_ident/tail() on error")
> 
> 
> 
> 
> # git log --follow drivers/mtd/nand/raw/mtk_ecc.c | grep "Signed-off-by" | sort | uniq -c | sort -n -r
>       13     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
>        6     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>        3     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
>        2     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
>        1     Signed-off-by: Wen Yang <yellowriver2010@hotmail.com>
>        1     Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
>        1     Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
>        1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>        1     Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
>        1     Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>        1     Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> * Boris (contributor of 15 changes) - Acked
> * Xiaolei (contributor of 6 changes) - Signed
> * RogerCC (contributor of 3 changes) - Acked
> * Ryder (contributor of 1 change) - Acked
> * Miquel (contributor of 1 change) - Acked
> * Jorge (contributor of 1 change) - Acked
> * Dan (contributor of 1 change) - Acked
> 
> * Wen (contributor of 1 change):
> 0119720a00b2 ("mtd: rawnand: mtk: fix possible object reference leak")
> 
> * Gustavo (contributor of 1 change):
> 238709b22097 ("mtd: nand: mtk: fix error return code in mtk_ecc_probe()")
> 
> * Arnd (contributor of 1 change):
> 8ff0513bdcdd ("mtd: mtk: avoid warning in mtk_ecc_encode")
> 
> 
> 
> 
> # git log --follow drivers/mtd/nand/raw/mtk_ecc.h | grep "Signed-off-by" | sort | uniq -c | sort -n -r
>        3     Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
>        1     Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>        1     Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com>
>        1     Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>        1     Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> 
> * Boris (contributor of 4 changes) - Acked
> * Xiaolei (contributor of 1 change) - Signed
> * RogerCC (contributor of 1 change) - Acked
> * Jorge (contributor of 1 change) - Acked
Arnd Bergmann May 24, 2019, 7:52 a.m. UTC | #5
On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com> wrote:
>
> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> But now it is only licensed as GPL-2.0.
> So re-license it as dual MIT/GPL and replace license text with
> SPDX tag.
>
> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>

Acked-by: Arnd Bergmann <arnd@arndb.de>

Sorry for missing this earlier.
Rafał Miłecki May 24, 2019, 7:55 a.m. UTC | #6
On 2019-05-24 09:52, Arnd Bergmann wrote:
> On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com> 
> wrote:
>> 
>> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
>> But now it is only licensed as GPL-2.0.
>> So re-license it as dual MIT/GPL and replace license text with
>> SPDX tag.
>> 
>> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
>> Acked-by: Rafał Miłecki <rafal@milecki.pl>
>> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
>> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
>> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
> Sorry for missing this earlier.

Thank you!

Xiaolei: please resend this patch without RFC in a subject. I believe it
can be applied/pushed now.
Masahiro Yamada May 24, 2019, 7:56 a.m. UTC | #7
On Fri, May 24, 2019 at 4:53 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com> wrote:
> >
> > It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> > But now it is only licensed as GPL-2.0.
> > So re-license it as dual MIT/GPL and replace license text with
> > SPDX tag.
> >
> > Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> > Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> > Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> > Acked-by: Rafał Miłecki <rafal@milecki.pl>
> > Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> > Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> > Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> Sorry for missing this earlier.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/


I found my tiny contribution for mtd_nand.c (f0dbe4aa35e73).
Anyway, I do not mind this.

Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
xiaolei li May 24, 2019, 8:18 a.m. UTC | #8
Hi All,

Thanks very much for your response!
I will send a formal patch soon.

Thanks,
Xiaolei

On Fri, 2019-05-24 at 09:55 +0200, Rafał Miłecki wrote:
> On 2019-05-24 09:52, Arnd Bergmann wrote:
> > On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com> 
> > wrote:
> >> 
> >> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> >> But now it is only licensed as GPL-2.0.
> >> So re-license it as dual MIT/GPL and replace license text with
> >> SPDX tag.
> >> 
> >> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> >> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> >> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> >> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> >> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> >> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> >> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> > 
> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> > 
> > Sorry for missing this earlier.
> 
> Thank you!
> 
> Xiaolei: please resend this patch without RFC in a subject. I believe it
> can be applied/pushed now.
Rafał Miłecki June 18, 2019, 9:36 a.m. UTC | #9
On 2019-05-24 10:18, xiaolei li wrote:
> On Fri, 2019-05-24 at 09:55 +0200, Rafał Miłecki wrote:
>> On 2019-05-24 09:52, Arnd Bergmann wrote:
>> > On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com>
>> > wrote:
>> >>
>> >> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
>> >> But now it is only licensed as GPL-2.0.
>> >> So re-license it as dual MIT/GPL and replace license text with
>> >> SPDX tag.
>> >>
>> >> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>> >> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>> >> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
>> >> Acked-by: Rafał Miłecki <rafal@milecki.pl>
>> >> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
>> >> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
>> >> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
>> >
>> > Acked-by: Arnd Bergmann <arnd@arndb.de>
>> >
>> > Sorry for missing this earlier.
>> 
>> Thank you!
>> 
>> Xiaolei: please resend this patch without RFC in a subject. I believe 
>> it
>> can be applied/pushed now.
> 
> Thanks very much for your response!
> I will send a formal patch soon.

Hi Xiaolei, what's the status of this?

It took some effort to sort that licensing out, I believe handling this
sooner than later is highly recommended.
xiaolei li June 19, 2019, 9:32 a.m. UTC | #10
Hi Rafal,

On Tue, 2019-06-18 at 11:36 +0200, Rafał Miłecki wrote:
> On 2019-05-24 10:18, xiaolei li wrote:
> > On Fri, 2019-05-24 at 09:55 +0200, Rafał Miłecki wrote:
> >> On 2019-05-24 09:52, Arnd Bergmann wrote:
> >> > On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com>
> >> > wrote:
> >> >>
> >> >> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> >> >> But now it is only licensed as GPL-2.0.
> >> >> So re-license it as dual MIT/GPL and replace license text with
> >> >> SPDX tag.
> >> >>
> >> >> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> >> >> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> >> >> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> >> >> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> >> >> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> >> >> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> >> >> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> >> >
> >> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> >> >
> >> > Sorry for missing this earlier.
> >> 
> >> Thank you!
> >> 
> >> Xiaolei: please resend this patch without RFC in a subject. I believe 
> >> it
> >> can be applied/pushed now.
> > 
> > Thanks very much for your response!
> > I will send a formal patch soon.
> 
> Hi Xiaolei, what's the status of this?
> 
> It took some effort to sort that licensing out, I believe handling this
> sooner than later is highly recommended.

Thanks for your attention.
I sent the formal patch about two weeks ago. So, you didn't receive it,
right ?

Thanks,
Xiaolei
Rafał Miłecki June 19, 2019, 10:49 a.m. UTC | #11
On 2019-06-19 11:32, xiaolei li wrote:
> On Tue, 2019-06-18 at 11:36 +0200, Rafał Miłecki wrote:
>> On 2019-05-24 10:18, xiaolei li wrote:
>> > On Fri, 2019-05-24 at 09:55 +0200, Rafał Miłecki wrote:
>> >> On 2019-05-24 09:52, Arnd Bergmann wrote:
>> >> > On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com>
>> >> > wrote:
>> >> >>
>> >> >> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
>> >> >> But now it is only licensed as GPL-2.0.
>> >> >> So re-license it as dual MIT/GPL and replace license text with
>> >> >> SPDX tag.
>> >> >>
>> >> >> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
>> >> >> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
>> >> >> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
>> >> >> Acked-by: Rafał Miłecki <rafal@milecki.pl>
>> >> >> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
>> >> >> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
>> >> >> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
>> >> >
>> >> > Acked-by: Arnd Bergmann <arnd@arndb.de>
>> >> >
>> >> > Sorry for missing this earlier.
>> >>
>> >> Thank you!
>> >>
>> >> Xiaolei: please resend this patch without RFC in a subject. I believe
>> >> it
>> >> can be applied/pushed now.
>> >
>> > Thanks very much for your response!
>> > I will send a formal patch soon.
>> 
>> Hi Xiaolei, what's the status of this?
>> 
>> It took some effort to sort that licensing out, I believe handling 
>> this
>> sooner than later is highly recommended.
> 
> Thanks for your attention.
> I sent the formal patch about two weeks ago. So, you didn't receive it,
> right ?

It has never reached me or mailing list.

See:
http://lists.infradead.org/pipermail/linux-mtd/2019-June/thread.html
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=&submitter=71599&state=*&q=&archive=&delegate=

The latest one is RFC v4.
xiaolei li June 20, 2019, 1:14 a.m. UTC | #12
On Wed, 2019-06-19 at 12:49 +0200, Rafał Miłecki wrote:
> On 2019-06-19 11:32, xiaolei li wrote:
> > On Tue, 2019-06-18 at 11:36 +0200, Rafał Miłecki wrote:
> >> On 2019-05-24 10:18, xiaolei li wrote:
> >> > On Fri, 2019-05-24 at 09:55 +0200, Rafał Miłecki wrote:
> >> >> On 2019-05-24 09:52, Arnd Bergmann wrote:
> >> >> > On Tue, May 7, 2019 at 11:20 AM Xiaolei Li <xiaolei.li@mediatek.com>
> >> >> > wrote:
> >> >> >>
> >> >> >> It is wanted to use MTK NAND driver with GPL-2.0 or MIT license.
> >> >> >> But now it is only licensed as GPL-2.0.
> >> >> >> So re-license it as dual MIT/GPL and replace license text with
> >> >> >> SPDX tag.
> >> >> >>
> >> >> >> Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
> >> >> >> Acked-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> >> >> >> Acked-by: Ryder Lee <ryder.lee@mediatek.com>
> >> >> >> Acked-by: Rafał Miłecki <rafal@milecki.pl>
> >> >> >> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> >> >> >> Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
> >> >> >> Acked-by: RogerCC Lin <rogercc.lin@mediatek.com>
> >> >> >
> >> >> > Acked-by: Arnd Bergmann <arnd@arndb.de>
> >> >> >
> >> >> > Sorry for missing this earlier.
> >> >>
> >> >> Thank you!
> >> >>
> >> >> Xiaolei: please resend this patch without RFC in a subject. I believe
> >> >> it
> >> >> can be applied/pushed now.
> >> >
> >> > Thanks very much for your response!
> >> > I will send a formal patch soon.
> >> 
> >> Hi Xiaolei, what's the status of this?
> >> 
> >> It took some effort to sort that licensing out, I believe handling 
> >> this
> >> sooner than later is highly recommended.
> > 
> > Thanks for your attention.
> > I sent the formal patch about two weeks ago. So, you didn't receive it,
> > right ?
> 
> It has never reached me or mailing list.

OK. I will re-send it today. Thanks.

> 
> See:
> http://lists.infradead.org/pipermail/linux-mtd/2019-June/thread.html
> https://patchwork.ozlabs.org/project/linux-mtd/list/?series=&submitter=71599&state=*&q=&archive=&delegate=
> 
> The latest one is RFC v4.

Patch
diff mbox series

diff --git a/drivers/mtd/nand/raw/mtk_ecc.c b/drivers/mtd/nand/raw/mtk_ecc.c
index 6432bd70c3b3..eea0f903bc24 100644
--- a/drivers/mtd/nand/raw/mtk_ecc.c
+++ b/drivers/mtd/nand/raw/mtk_ecc.c
@@ -1,17 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK ECC controller driver.
  * Copyright (C) 2016  MediaTek Inc.
  * Authors:	Xiaolei Li		<xiaolei.li@mediatek.com>
  *		Jorge Ramirez-Ortiz	<jorge.ramirez-ortiz@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>
@@ -600,4 +592,4 @@  module_platform_driver(mtk_ecc_driver);
 
 MODULE_AUTHOR("Xiaolei Li <xiaolei.li@mediatek.com>");
 MODULE_DESCRIPTION("MTK Nand ECC Driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
diff --git a/drivers/mtd/nand/raw/mtk_ecc.h b/drivers/mtd/nand/raw/mtk_ecc.h
index a455df080952..0e48c36e6ca0 100644
--- a/drivers/mtd/nand/raw/mtk_ecc.h
+++ b/drivers/mtd/nand/raw/mtk_ecc.h
@@ -1,12 +1,10 @@ 
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * MTK SDG1 ECC controller
  *
  * Copyright (c) 2016 Mediatek
  * Authors:	Xiaolei Li		<xiaolei.li@mediatek.com>
  *		Jorge Ramirez-Ortiz	<jorge.ramirez-ortiz@linaro.org>
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
  */
 
 #ifndef __DRIVERS_MTD_NAND_MTK_ECC_H__
diff --git a/drivers/mtd/nand/raw/mtk_nand.c b/drivers/mtd/nand/raw/mtk_nand.c
index b6b4602f5132..3cbc25793062 100644
--- a/drivers/mtd/nand/raw/mtk_nand.c
+++ b/drivers/mtd/nand/raw/mtk_nand.c
@@ -1,17 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * MTK NAND Flash controller driver.
  * Copyright (C) 2016 MediaTek Inc.
  * Authors:	Xiaolei Li		<xiaolei.li@mediatek.com>
  *		Jorge Ramirez-Ortiz	<jorge.ramirez-ortiz@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/platform_device.h>
@@ -1598,6 +1590,6 @@  static struct platform_driver mtk_nfc_driver = {
 
 module_platform_driver(mtk_nfc_driver);
 
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_AUTHOR("Xiaolei Li <xiaolei.li@mediatek.com>");
 MODULE_DESCRIPTION("MTK Nand Flash Controller Driver");