Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1226470pxk; Thu, 10 Sep 2020 10:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXyK7ZvL/SSZdm9yVp6f3qqvYFSZxXpvPx/tZgm0T7LZ/HmrKKCw1TZSAEeUHLw51XdFB2 X-Received: by 2002:aa7:c554:: with SMTP id s20mr10300875edr.230.1599757320020; Thu, 10 Sep 2020 10:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599757320; cv=none; d=google.com; s=arc-20160816; b=MwrlGHK9Gi9fYZkO7GtJR3WoBlleMdOiqTRPpUbw7SNg8FQhpCFYy8YPBwFdBgPUhF 3CiEcM02gKKcuOq4F+G49Rw6jA1QjFSABVeIJQD34vGm01FeQJnC6807QZDqIj8Z8OCn M8q2ZenQa0KLJlBeWUDIJFBP23qs//3WYPPDKEQYqSIySa/b65IdcMQlqvlZRq0HfyWr AYvIBYdV74qkaqi+mpJvvy6k6BFhVKG876zU71HSW/e0rDoeu1aaXUliNeGHmAZThYfq bBvG0dSredHfvafFmhlNlQZovCYSRMiK/J1aGZDaCGvbhB5B6ydiBxMZa8Hb63GiHNJv URTQ== 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=lhbk4tqPTdkyRQarORZlMRL0wGCrYFCu99WD1ztL2wc=; b=kHHI4Q1w0svtuA5Ke4CPE1rT2BGU+VX3mXkVgs0obrTyz7JxdAwMUHrT4EhKtqxgI4 iGcFE3h0i4vsObFbwNcVDFFfjF71Av7zl4dhUQEHldFUq+wi8nGr6ewRWLXEu5+HnDWJ w6x4SX1StcZonwzZ77qFeYJHmmqIiU1Qe12IKXHma31VYW6zg9vpEfIPAWBz29C6B5FT gq9wiqaU9aMoLhCJBR/2sRF89GiQsnD4CDka04JpO68OSUPo1r7I2lczGOWOGHR/zoDp X3Gy9UU9ORNRkuXwERV379hHN0z2SZz4us10rU19TynuoFS6Dsr2m+FB1Yg21+DriyQ1 DVyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=asliYRIb; 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 bi17si4314569edb.582.2020.09.10.10.01.36; Thu, 10 Sep 2020 10:02:00 -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=asliYRIb; 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 S1726847AbgIJRAe (ORCPT + 99 others); Thu, 10 Sep 2020 13:00:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:55200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727099AbgIJQ77 (ORCPT ); Thu, 10 Sep 2020 12:59:59 -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 E7C5320C09; Thu, 10 Sep 2020 16:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599757194; bh=Q/e3hiHaPu3poZppk1c3ftJgjPBuy0Ukwxh4Gmcyk2M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=asliYRIbd39pJbuu62/Pfj+xB5cKoNxdpvCFYGwQB7KOzedbtjaIqAYtHyU7MXsol Hg8pi639TLU4OVwIf39leirjjN+dUir0riatVbr48vtYpiXsh+l4PjAZbLKt0RlD54 AZ29/uLX3BsYdiK9fEZHoz0WGm9N5DT0A9Ny9wk4= Date: Thu, 10 Sep 2020 19:00:01 +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: <20200910170001.GA1621093@kroah.com> References: <20200901191548.31646-1-gage.eads@intel.com> <20200901191548.31646-2-gage.eads@intel.com> <20200907130150.GE2371705@kroah.com> <20200910163208.GA1321670@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:52:37PM +0000, Eads, Gage wrote: > > > > -----Original Message----- > > From: Greg KH > > Sent: Thursday, September 10, 2020 11:32 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 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 > > Sorry, I worded that ambiguously. The driver builds without any warnings with > my GCC (7.3.1) by default. The deluge from kernel headers only occurs after > adding EXTRA_CFLAGS=-W. There shouldn't be any dlb2 warnings with -W enabled, > but I'll double check. You do know about "W=1", right?