From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: csiostor: remove unneeded DRIVER_LICENSE #define Date: Mon, 20 Nov 2017 22:15:45 -0500 Message-ID: References: <20171117142122.GF17880@kroah.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20171117142122.GF17880@kroah.com> (Greg Kroah-Hartman's message of "Fri, 17 Nov 2017 15:21:22 +0100") Sender: linux-kernel-owner@vger.kernel.org To: Greg Kroah-Hartman Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Varun Prakash , linux-kernel@vger.kernel.org, Philippe Ombredanne , linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Greg, > 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. Applied to 4.16/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering