[PATCH] gpu: gma500: remove unneeded DRIVER_LICENSE #define
Philippe Ombredanne
pombredanne at nexb.com
Fri Nov 17 14:50:25 UTC 2017
On Fri, Nov 17, 2017 at 3:16 PM, Greg Kroah-Hartman
<gregkh at linuxfoundation.org> wrote:
> 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: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Cc: David Airlie <airlied at linux.ie>
> Reported-by: Philippe Ombredanne <pombredanne at nexb.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne at nexb.com>
--
Cordially
Philippe Ombredanne
More information about the dri-devel
mailing list