Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15141030ybl; Tue, 31 Dec 2019 02:13:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxE5cU6t9nbfLY610r3m9eSHnr+Sn+XKlMTkQUk5bWvwkLqud3dmmqMH3puxm3ePCUHC5Pz X-Received: by 2002:a9d:12f1:: with SMTP id g104mr82068556otg.334.1577787210690; Tue, 31 Dec 2019 02:13:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577787210; cv=none; d=google.com; s=arc-20160816; b=NEzfOk4v5cFjBn7V4VUXdUcbdsgQHYQQkuDY3EFVwYsrnrevICg+sokTFK9QKC/dtS Wrupim5Kz7CIBFeXmt9niEALwSktxhWtpECEJEnCZvt1xpkBvJwxJrmOEa7P+Px7LVih jPUz47UY2sMcgAyjblvK4g/5M0he/7qMFDM4JwgFNCsUsrSlXL72fGi4giiG5izSXPio KSmGVMaqIzkRJKUF9stuKDBTp4dAayrcWqoAvtZSOhFJUgY143Im+ryLAu1w78NT3PLA Kk4G0yjnfFt85AJ2m8h9Pl1j7FCJ0jmsrJDpSnMIvg2JaX0Vxt26Eang2ygxXjFKG2gc 1Dmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mcHLArVvSYWju7iUdUsRkpbko31/yV+VdiBSm4Mc9+A=; b=w2VZUn+0SslhFJQlV25E8rShkcXZWejtZacfEyQcn/d6+PDLex+LcMGYDOSifIvY9e SFZzOjk/Tqpg1E6ScJ/CqBYbsZY0ut/T1hByJAdzA7L0WkW3bt5p9uQ0gwA1M55nofkE RIHtohE0xwuF241ri0vOTN289qRIT3FGynFh6ZSzL3fVnHx5RbTkfUSh3TO8IglmJlN4 YSgcT17aOOxkK2SCRQm+5HnvRxYn5et78cKKB9v2LR1s1kYI2O+2myTqwI0UdQ7RJ3ra q3kAc9ah9PZlSnMTDztiTwkGm5FQVdEACxXYXZetg2i9WLvYo2B0XC89irN7DYGehxpk Y5IA== 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 i124si22339339oif.214.2019.12.31.02.13.18; Tue, 31 Dec 2019 02:13:30 -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 S1726702AbfLaKMd (ORCPT + 99 others); Tue, 31 Dec 2019 05:12:33 -0500 Received: from gofer.mess.org ([88.97.38.141]:47535 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbfLaKMd (ORCPT ); Tue, 31 Dec 2019 05:12:33 -0500 Received: by gofer.mess.org (Postfix, from userid 1000) id 3DF4B11A001; Tue, 31 Dec 2019 10:12:31 +0000 (GMT) Date: Tue, 31 Dec 2019 10:12:31 +0000 From: Sean Young To: "Daniel W. S. Almeida" Cc: mchehab@kernel.org, gregkh@linuxfoundation.org, rfontana@redhat.com, kstewart@linuxfoundation.org, tglx@linutronix.de, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] media: dvb_dummy_frontend: remove 'extern' keyword from declaration Message-ID: <20191231101230.GF24469@gofer.mess.org> References: <20191201161542.69535-1-dwlsalmeida@gmail.com> <20191201161542.69535-7-dwlsalmeida@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191201161542.69535-7-dwlsalmeida@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On Sun, Dec 01, 2019 at 01:15:42PM -0300, Daniel W. S. Almeida wrote: > From: "Daniel W. S. Almeida" > > Fix CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files > by removing it. > > Signed-off-by: Daniel W. S. Almeida > --- > drivers/media/dvb-frontends/dvb_dummy_fe.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/media/dvb-frontends/dvb_dummy_fe.h b/drivers/media/dvb-frontends/dvb_dummy_fe.h > index 35efe2ce1a88..1c82338e0c8a 100644 > --- a/drivers/media/dvb-frontends/dvb_dummy_fe.h > +++ b/drivers/media/dvb-frontends/dvb_dummy_fe.h > @@ -12,9 +12,9 @@ > #include > > #if IS_REACHABLE(CONFIG_DVB_DUMMY_FE) > -extern struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void); > -extern struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void); > -extern struct dvb_frontend *dvb_dummy_fe_qam_attach(void); > +struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void); > +struct dvb_frontend *dvb_dummy_fe_qpsk_attach(void); > +struct dvb_frontend *dvb_dummy_fe_qam_attach(void); Please add these changes to your patch: "media: dvb_dummy_fe: Fix ERROR: POINTER_LOCATION" Every patch should pass the checkpatch --strict test by itself; you cannot fix checkpatch errors in a patch in a subsequent patch. Thanks, Sean > #else > static inline struct dvb_frontend *dvb_dummy_fe_ofdm_attach(void) > { > -- > 2.24.0