Received: by 10.223.164.202 with SMTP id h10csp951563wrb; Fri, 17 Nov 2017 11:19:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMa/KlrYr96f4MB5dgWeMrrDkrmPJYkbQU9RSL/85UVu7yo1dL165TO3IiT5SdjbZsNIL3Bz X-Received: by 10.99.65.131 with SMTP id o125mr5903913pga.83.1510946355509; Fri, 17 Nov 2017 11:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510946355; cv=none; d=google.com; s=arc-20160816; b=fX0EHKehoVt0Sm25D2Yn7H6jJ6CyoWpcoxs+p9xOCcyak9jfzgm2UmZt9VBBdsrXrq ixRpwPiSpo3jqj69P1oW4Z+SkAyeeCv+VCD+84yjCuLY6FiYd0oYJueTSZ4GIGlOOMcg NDE+4mfXYDcgSHOjXvjsoVBmr7SLgF6wHufbtn6MU0K/bpOTutpd4AlVrD7qx1SHdhsU imO+aDceNvSiq42Mj++GJClPGZMpORsr4WdR3bLfIJW+IrYfBN1/YSTFGFoNeXDLPA2i msOvnmjX5NcDbPkGOcQVewKmP+DSp54I/ne71ldHgxFhSOkA4K4GeZwtelTwCxW6zmmM Fnuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=9VPHPz4i95pRvQ+jlCk7A1XGtJXX4ChwiRQ+NyKnFrs=; b=U2b6UWMbpokAPUAS1X9PkRyvWfBjR6ksviV/ZRLB1ZOn0sUB8FMP88iP4rLyjNOUic CklermXDmUFIkT6rKWONGOicHSLpjodZtUEpZbPKNYklenxrkYatx+JGhzN/O2hwbIco 8CHz+nEwSzZyZQls4qskFzUvsBMLhIiFxxv6dJpwZz+PpdJgxuik8zdDl51hMTPvQJmx AWCn7+1T5ruz9fAwtbwgdwrfvOfKQSHZLHFBpNdWcndBEvxhFRkRbLkqPwPXMPsrFqRD Q6+shk7uGVJ1lrEk2MV6PgnBKFrxLovn6gcwNxR7xyGJZ5Z8S0YsbvvYbpHfPsl2nJ4f 0C1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si3177486pgn.367.2017.11.17.11.19.02; Fri, 17 Nov 2017 11:19:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934051AbdKQOdD (ORCPT + 93 others); Fri, 17 Nov 2017 09:33:03 -0500 Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:59960 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933430AbdKQOcx (ORCPT ); Fri, 17 Nov 2017 09:32:53 -0500 Received: from [192.168.1.10] ([80.101.105.217]) by smtp-cloud7.xs4all.net with ESMTPA id FhhKeAQFXVNbYFhhLeGQKO; Fri, 17 Nov 2017 15:32:52 +0100 Subject: Re: [PATCH] media: usbvision: remove unneeded DRIVER_LICENSE #define To: Greg Kroah-Hartman , Mauro Carvalho Chehab References: <20171117141826.GC17880@kroah.com> Cc: Johan Hovold , Davidlohr Bueso , Sakari Ailus , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Philippe Ombredanne From: Hans Verkuil Message-ID: Date: Fri, 17 Nov 2017 15:32:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20171117141826.GC17880@kroah.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFN2INoZUDlH0rLgWfFKcBxdSmjMgpmLhcGBJYAUDxzh7Rgkg92cbPcbL5uDbgAxISbQQkvRp3LXxAwDSoUaHXLcbGff+6vg8lsUZBJXVJcqeCNNdQWH mSV0FI8rqjEV8g/t4+KpTaCO0f2bnyPoWNus+9iwVAcAQqfxtj7OJYh4z/aEiB/rd7JoEBbloLWR3Tl1wX/Yc8Ditfn94FFmBfwuMNrxPo+FIhMFymdRySig 5ltZk7jIJS829bqTNIwI5t1F1eWOpvVxurrkLFI2D+51d5RdZpN85HlDW9UtcboULS3ovRIiICZMQpRKc/h6bvWKJv+CEDBomx98RUnxbdWmHe4e6QNjF9q1 bhR3BrJVjEQM8P4MhdbBQmhnhgQr/jsDFeXH/k2Fqi1OIm/jt70xDJCuaN3YCl3thtaBICpX Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/11/17 15:18, Greg Kroah-Hartman 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. > > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Cc: Johan Hovold > Cc: Davidlohr Bueso > Cc: Sakari Ailus > Reported-by: Philippe Ombredanne > Signed-off-by: Greg Kroah-Hartman Acked-by: Hans Verkuil Thanks! Hans > --- > drivers/media/usb/usbvision/usbvision-video.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/media/usb/usbvision/usbvision-video.c b/drivers/media/usb/usbvision/usbvision-video.c > index 960272d3c924..0f5954a1fea2 100644 > --- a/drivers/media/usb/usbvision/usbvision-video.c > +++ b/drivers/media/usb/usbvision/usbvision-video.c > @@ -72,7 +72,6 @@ > #define DRIVER_NAME "usbvision" > #define DRIVER_ALIAS "USBVision" > #define DRIVER_DESC "USBVision USB Video Device Driver for Linux" > -#define DRIVER_LICENSE "GPL" > #define USBVISION_VERSION_STRING "0.9.11" > > #define ENABLE_HEXDUMP 0 /* Enable if you need it */ > @@ -141,7 +140,7 @@ MODULE_PARM_DESC(radio_nr, "Set radio device number (/dev/radioX). Default: -1 > /* Misc stuff */ > MODULE_AUTHOR(DRIVER_AUTHOR); > MODULE_DESCRIPTION(DRIVER_DESC); > -MODULE_LICENSE(DRIVER_LICENSE); > +MODULE_LICENSE("GPL"); > MODULE_VERSION(USBVISION_VERSION_STRING); > MODULE_ALIAS(DRIVER_ALIAS); > > From 1584514416392358987@xxx Sun Nov 19 16:58:22 +0000 2017 X-GM-THRID: 1580086010895794021 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread