Received: by 10.223.164.202 with SMTP id h10csp952640wrb; Fri, 17 Nov 2017 11:20:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMahWd+H8TGZigr2ydn0zGyU0nUuUaeimx8k1A70ljeUVe3czZCSJHLroXbZcXD55VcBsbwg X-Received: by 10.99.150.2 with SMTP id c2mr6010969pge.386.1510946419256; Fri, 17 Nov 2017 11:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510946419; cv=none; d=google.com; s=arc-20160816; b=t3vxVGRQYY3IexWVNPizaqdT93nETNPv3j7ZisZrWrwSPRb8inO/bSS+V6N5zgnzlC GRehb3u9eoN1e+1+0moIYCPQ+vUC5M3fzfGvJVmGqLz6YJ7+UiJ8AM/VsqrMp8v9TyIS B7VO9rvutKpWNovnjXzRJmfiyGZRFXwJnzXae6VW7M1AkNc3NC4vjWbEpX/MLZ3wz+Xh SOMIMkG9Fyb++g425a4v6jfKEqoSH4hptcIkFqo6AU+P2AQnSograVLmQL501oyBq+Gk y7VnxrYAkSxoNho+rBtdVv6GOVaJCvLDN2QxG9mFR9EQVtgH3baUFO6CxgWnU0vcEQDz R6Iw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=EsWELrmvhTiH+pf17yUM/02k5DXWoq25mZ375KGYp3o=; b=t/hJ/d3wR0kRCJIW/orm2yIifJvXfuDfCP9SxhwKPtpNml8hFBPYeCfs2H871xXjCf 4whcWm8geYeiY8HHjtJM3l0wMlNgG6iQY10aMfDKzInHQwjRgSsYen2ySZy3S/SYw7gB 1ji+gULo4Q9Mu9g+ldDXfLa1mY2KMVlV6fEfU06sr/E/SvjkR7Qlj4akQdaGaWKlKtaZ KC8iTvdDB8OmwRang7qsW8bmsNDMf2bYr9MHF5mvrz/mzp2AZ+MfPlc/dzt3LQ/V9+nW /pE52ErgeGBYj0Dy2H4AUayoyNcqY7896nv14nakMfp0DmZFAllrc39ER0DS5GVpQ2iD UVgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=De0X3YzM; 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 g1si3186080pge.297.2017.11.17.11.20.06; Fri, 17 Nov 2017 11:20:19 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=De0X3YzM; 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 S934007AbdKQOcS (ORCPT + 93 others); Fri, 17 Nov 2017 09:32:18 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:42947 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933430AbdKQObx (ORCPT ); Fri, 17 Nov 2017 09:31:53 -0500 Received: by mail-pg0-f66.google.com with SMTP id j16so2080321pgn.9; Fri, 17 Nov 2017 06:31:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EsWELrmvhTiH+pf17yUM/02k5DXWoq25mZ375KGYp3o=; b=De0X3YzMxcmNAg1yHeBfMMfuH24aSmgliQr7uU3ZTR7emUtsZoTL0pVSE6X7rV8GNo U+KmlhTlwo19evqaNiy+kX0wxDfLremqD90g55G7UaF3vIsqrvCZhuHMk6HWsf7IwY1o tEgEMudtqeOIvYwe6DxhbJxmhH/XzhHJW/z6mqNRUY1gUfs/KyEkZtyZdLr8A2pkg0Ck eMHFfIwJd5Om9IC05OotSdffoRd/7uJvBtaR0za7P4S8M32mMABpNij53P4y2BJWbqOf Mnhh5imBAywTXAKLe+bA8HWdtIRX13uwqqThp3nTwUPlkf5pw2emso8+QEKuOHuYCRd9 abtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EsWELrmvhTiH+pf17yUM/02k5DXWoq25mZ375KGYp3o=; b=RvN2a9N4cFQRjl36vLtLOy+/v0Tvft5zWa+bDZlqgOh6bwSqH6S7HFykcupgWgYcax mQIJl9KUV3oEYNHIhNAUvaklUOH+E7HgAd/rTdistLGdFYUHTsqZzTh3LKJ9vxqtDXiX jJHBXtU9xxHXPEzGlFarPIXvc73J+I8flv3k/zU7oLye0UfCeZy/iNNjFbLT/DXL5nG9 N+BY19PPcFnL8ERjU0lu8gowsu49K3mCi3s6bhjCG7M+YhFMZXzCoFym8/knNGImpDSw fWaOFTYjb5cs1cPB3lQRy1x3JRFsgEMg5DZPLLOQm8onvn2ExTQyd4RmvqH7R56DqYDl 4c+g== X-Gm-Message-State: AJaThX6AuX0vCAKrrS8C1elEW61Pnxn8q9sR8U+qdRZfT9ohXyN/c1Hb 0amTBV2V7KGIvSV5Kdjw7N271A== X-Received: by 10.98.178.17 with SMTP id x17mr338675pfe.239.1510929112814; Fri, 17 Nov 2017 06:31:52 -0800 (PST) Received: from server.roeck-us.net (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id u13sm6593075pgb.68.2017.11.17.06.31.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2017 06:31:51 -0800 (PST) Subject: Re: [PATCH] watchdog: pcwd_usb: remove unneeded DRIVER_LICENSE #define To: Greg Kroah-Hartman , Wim Van Sebroeck Cc: linux-kernel@vger.kernel.org, Philippe Ombredanne , linux-watchdog@vger.kernel.org References: <20171117142203.GG17880@kroah.com> From: Guenter Roeck Message-ID: <40fb6822-6797-cca7-763a-6c76b2bc4b66@roeck-us.net> Date: Fri, 17 Nov 2017 06:31:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171117142203.GG17880@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/17/2017 06:22 AM, 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, especially when it is defined just a few lines > above from where it is used. > > Cc: Wim Van Sebroeck > Cc: Guenter Roeck > Reported-by: Philippe Ombredanne > Signed-off-by: Greg Kroah-Hartman Reviewed-by: Guenter Roeck > --- > drivers/watchdog/pcwd_usb.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/watchdog/pcwd_usb.c b/drivers/watchdog/pcwd_usb.c > index b9e376c8e2e3..07a97708cb3a 100644 > --- a/drivers/watchdog/pcwd_usb.c > +++ b/drivers/watchdog/pcwd_usb.c > @@ -49,12 +49,11 @@ > #define DRIVER_VERSION "1.02" > #define DRIVER_AUTHOR "Wim Van Sebroeck " > #define DRIVER_DESC "Berkshire USB-PC Watchdog driver" > -#define DRIVER_LICENSE "GPL" > #define DRIVER_NAME "pcwd_usb" > > MODULE_AUTHOR(DRIVER_AUTHOR); > MODULE_DESCRIPTION(DRIVER_DESC); > -MODULE_LICENSE(DRIVER_LICENSE); > +MODULE_LICENSE("GPL"); > > #define WATCHDOG_HEARTBEAT 0 /* default heartbeat = > delay-time from dip-switches */ > From 1584345444235132434@xxx Fri Nov 17 20:12:38 +0000 2017 X-GM-THRID: 1584345444235132434 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread