Re: [PATCH v1 5/6] i2c: designware: Add SPDX license tag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 25, 2018 at 05:39:29PM +0300, Andy Shevchenko wrote:
> Replace short statement in comment with proper SPDX license tag.
> 
> Note, for i2c-desingware-slave.c the identifier is chosen
> in accordance with MODULE_LICENSE() macro since it is visible to user.
> Another point to this choice is that the header seems to be copy'n'paste
> from the other file of this very driver.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

checkpatch warning:

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#76: FILE: drivers/i2c/busses/i2c-designware-core.h:1:
+// SPDX-License-Identifier: GPL-2.0+

Header files use C-style comments.

Also, I think "-or-later" is the new trend instead of "+".

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux