]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: csiostor: remove unneeded DRIVER_LICENSE #define
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Nov 2017 14:21:22 +0000 (15:21 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 01:32:53 +0000 (20:32 -0500)
commitd99c214d70b49e72fbf6daad30bce28c021d2aa5
tree3d1e45b6f58c16ac0ad6a1cc6e83c73ac01fc387
parent7eb28382b92a72a04093ac06c710f549107749b7
scsi: csiostor: remove unneeded DRIVER_LICENSE #define

There is no need to #define the license of the driver, just put it in
the MODULE_LICENSE() line directly as a text string.

This allows tools that check that the module license matches the source
code license to work properly, as there is no need to unwind the
unneeded dereference, especially when the string is defined in a .h file
far away from the .c file it is used in.

Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Varun Prakash <varun@chelsio.com>
Reported-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_init.c
drivers/scsi/csiostor/csio_init.h