Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1208997pxk; Thu, 10 Sep 2020 09:34:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOihZ6V1WaQXk7suorC3WOKioxuSt6rkWrvmOlWPHhEJma5DlOqQWZLRAgIB9CT/lJMf+/ X-Received: by 2002:a17:906:7013:: with SMTP id n19mr9644785ejj.388.1599755671166; Thu, 10 Sep 2020 09:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599755671; cv=none; d=google.com; s=arc-20160816; b=FBj8B/5/vRExHnvf8UEmRw238o3Aov3OKYB1/qW6VjJhZBokmOmxO7a6fQVIFoAdud 6fvkQn9YsHib16Gn/PGQtAfmOuMCONhjS9/n+o7YikCKXNbCoqGyOJoZrF04yEUXv8+s sVPCRcoQaAR/gyY5DRSAoJ7JNenEBAYlwbqB/RPnyZ1n7Vk1QgkSVaNPh3N6TCyaBptI wMyDncCGHxQd0dQxYKmzGhNef4zs/aUhz8H9QAnpqM35BO/qraWrigFfOPPC7QAOf74Q +Z5/+1Q1/v038iVMK5d5pOl95xu6ZqdZOeD+li7aGi8hBnFKkcUoxR205Xt46JUW1RDb CJfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bMFmAzTcR7lTpjfBhyOwLdxFUyzoH0sBQkS+HC61lFM=; b=H3mC+4WGN4ZGZlZ6nl2Zwty+HGvcEDkSqFv8lgFumW/IwOnqF4xPJDda5wIAOdEgm6 /tSLt6FD8zR9rV//M9xMcN3tINrv1GwmImvMFNDBQOFcLBDN9+MAuN3VTO93Fs7iAjy3 7PZwLcUHnzVemEP5bOrM/62zrZmnuKHRRKi6TXCadQ/LcwgDjqPoF7QDsEpjf4KEVWNO lxl5rSqMA05L+4FQBON9vDUmgnjdP6qy88MlpZr1S4LZfjTJf5G687aj3DAP0MLX1JPX Naxbtyl0nInbMxzsDTzKsjmAYkzfqTkKmyey90N7ly+2xICMoTDmD+A/bWlgR6mwPRaA pYhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uDFhA5k4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h24si3885720edv.391.2020.09.10.09.33.38; Thu, 10 Sep 2020 09:34:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uDFhA5k4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726591AbgIJQcM (ORCPT + 99 others); Thu, 10 Sep 2020 12:32:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:43614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726841AbgIJQcB (ORCPT ); Thu, 10 Sep 2020 12:32:01 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C8BE720C09; Thu, 10 Sep 2020 16:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599755521; bh=pU7vs9Oqtq1EuN0LnSu799unpKeDDHK8B0ZI7XTbRh0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uDFhA5k4yX+WzUizO+Zb6wqKrXfTncoQ6z51rA0TvJFV+dhYyifq0/40ocjnU2QiR 5cc3EX4oIyBFK4gjIEZvohwstFhYNSO2854opBdYqzf6g2mvtFrsaz/ERxg/8cmjf2 HryVczveTV/E4gDiI56HXK8yIItIrxUxyDGwlg9c= Date: Thu, 10 Sep 2020 18:32:08 +0200 From: Greg KH To: "Eads, Gage" Cc: "linux-kernel@vger.kernel.org" , "arnd@arndb.de" , "Karlsson, Magnus" , "Topel, Bjorn" Subject: Re: [PATCH v3 01/19] dlb2: add skeleton for DLB 2.0 driver Message-ID: <20200910163208.GA1321670@kroah.com> References: <20200901191548.31646-1-gage.eads@intel.com> <20200901191548.31646-2-gage.eads@intel.com> <20200907130150.GE2371705@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 04:24:31PM +0000, Eads, Gage wrote: > > > > -----Original Message----- > > From: Greg KH > > Sent: Monday, September 7, 2020 8:02 AM > > To: Eads, Gage > > Cc: linux-kernel@vger.kernel.org; arnd@arndb.de; Karlsson, Magnus > > ; Topel, Bjorn > > Subject: Re: [PATCH v3 01/19] dlb2: add skeleton for DLB 2.0 driver > > > > On Tue, Sep 01, 2020 at 02:15:30PM -0500, Gage Eads wrote: > > > --- /dev/null > > > +++ b/drivers/misc/dlb2/dlb2_main.c > > > @@ -0,0 +1,208 @@ > > > +// SPDX-License-Identifier: GPL-2.0-only > > > +/* Copyright(c) 2018-2020 Intel Corporation */ > > > + > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > + > > > +#include "dlb2_main.h" > > > + > > > +static const char > > > +dlb2_driver_copyright[] = "Copyright(c) 2018-2020 Intel Corporation"; > > > > Why have this in a string and then: > > > > > +MODULE_LICENSE("GPL v2"); > > > +MODULE_AUTHOR("Copyright(c) 2018-2020 Intel Corporation"); > > > > Not use it? > > > > It's probably not needed at all, right? > > > > Don't you get a build warning about this when applying and building this > > patch? > > > > thanks, > > > > greg k-h > > dlb2_driver_copyright was used in a pr_info() in the v1 patchset that was > removed at Arnd's recommendation, and I forgot to remove the string. Will fix. > The unused warning variable was likely missed in the deluge of warnings from > included kernel headers. You should not have any build warnings. If you do, then something is really wrong, the kernel builds cleanly today. thanks, greg k-h