Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4685598pxf; Tue, 23 Mar 2021 17:56:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYWnxVKV4M1qo4iJ8rSEbtp7D/CGgfh5OnehQRySEGKAG65VX8TMJVKBB/3eY1fXnZpOeW X-Received: by 2002:a17:906:1408:: with SMTP id p8mr882225ejc.89.1616547402468; Tue, 23 Mar 2021 17:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616547402; cv=none; d=google.com; s=arc-20160816; b=Z6HUlYip+v69aH1v/v8RtasHPfJgf9rBaiqX9agbBer1ozaYr5gcsuxlTZhOK0vcL/ 1g65kItTXYzLOOxvzsIY7FKO9sMU8rwQXgsJS8QsWVsebgX9TRy5IBfS4iaTwDPPp9pC zrJshVCTHokGmFqyM0VhuPkQXc0KMgO7VD910kvgowNOtBDIOf+FN3TtjNp8OSBeRzzr Hu2BDojPgVIugh1X02nnmaXnehfyPsmCy2IeCzamOVDVQWO8PZxDAkS/oLLtamTTx5Nx dDOc/4Gtyym1cpARL6Jkus7fWobXHtm2dFr7T3RryIHWB/ipsr0yVkQYCX/91MAM0OVH V23Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8r5MzpqQZUTIbvYW/LPuJYOpz6l5B2Fb8dCOYT8Y2sg=; b=OTohC/w3DYaBQfo/g+4x3Ope83ixqvN6VeJCqTI7vZNM04h+PG/nOYhzdUD8momn2s C4l3cpCcsHlU4TnPNCn+2n81GqJKrAjrZQ3wNVPlzoZtpjtT3qcltvSEejDboVNH0qoK dzaYrxo52WUhR7qH0zSKi+NpKMkOKI0K4F731sVF2lrM4gaHB59ie1iU/gzP4vozDqNY pOLTbpz8otb5jqV5u9I3UH1NRP3DVfIujPjht//TvMSD+hSAUHJNI0QcnUZqwRS8L4s7 kAZSWoXifyledtrM5f0CSAuU/5sZ0BjHDjw2id34Ao7Z346SVL2k3Ax+Chd3wbfwq5yS 68NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f2JK0HdS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj11si478807ejb.589.2021.03.23.17.55.30; Tue, 23 Mar 2021 17:56:42 -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=@gmail.com header.s=20161025 header.b=f2JK0HdS; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231328AbhCWN0o (ORCPT + 99 others); Tue, 23 Mar 2021 09:26:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230335AbhCWNZ5 (ORCPT ); Tue, 23 Mar 2021 09:25:57 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A368EC061574 for ; Tue, 23 Mar 2021 06:25:56 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id b7so27098132ejv.1 for ; Tue, 23 Mar 2021 06:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8r5MzpqQZUTIbvYW/LPuJYOpz6l5B2Fb8dCOYT8Y2sg=; b=f2JK0HdS9o3MqDof967k0R7irtW3xhOyegr0pKgz9Hpkykg4oSxUdp0jNixS6eGEpr htBUqvoiCcc0/Qur6LNxMwBwQ53Y1bKctioa4TXjRlCjTTK15/HOjoxrFw/0urILPqPy BD/NAGPVq/Y4hH+87+ar4jfSgwsKprImHRAFfoe6tZlOVevHdEGgqH34j6DHcbRONW3B 2YvBHyXWwW7Iy0eniOQLCXSpZa2zjphK9jwWC5c2yYQ5DYShL5Ppu1V9J9pivdawVOOT 7gsL9ItE2jAYnWc/82Pep5hBUXLPak+0k74IBj7f944eX88nTOGKhXeFfW/XtZLW8Qnw 54cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8r5MzpqQZUTIbvYW/LPuJYOpz6l5B2Fb8dCOYT8Y2sg=; b=EHLgdkPUViy0s6X+lasvBLqebOoRIn1VuKfjSA3mAQA4TNR1sf9ICbYpv/5xb/Sho6 aDhgEBRCUbJiH9nuYpzfCFOXZ9agmL5ATPqZZkuFDsIYSdVPHqPrbh/md2PkfxKbO3pq vdOlprndmNPndSgZosnwXkBmrm3mclgcfVvV+5X2q0Psqz/FgMv/u6QlvvNZEemRVngk PRTGYjq5fxavJa4vigWDYlWlqADaW5HWKunQbpCvXa2u+11wxSxSLwc7sXAWZrnruBrh XEZxuQmktOmKUDYjorwxdfvlwMava+zZsup8sFr+zfgKsLPvpAD/2lga9hWhN4Y/VjM5 D5sQ== X-Gm-Message-State: AOAM531buk67D57urAZsEGOlQzihTgGggnd9/6FQsgWiIu2Dn/j141O5 4FSx0k3vTQ+27E7tXZtKm6A= X-Received: by 2002:a17:906:32d1:: with SMTP id k17mr4985190ejk.94.1616505955471; Tue, 23 Mar 2021 06:25:55 -0700 (PDT) Received: from agape.jhs ([151.57.211.10]) by smtp.gmail.com with ESMTPSA id v15sm12864318edw.28.2021.03.23.06.25.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 06:25:55 -0700 (PDT) Date: Tue, 23 Mar 2021 14:25:52 +0100 From: Fabio Aiuto To: Dan Carpenter Cc: gregkh@linuxfoundation.org, joe@perches.com, apw@canonical.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/11] staging: rtl8723bs: moved function prototypes out of core/rtw_efuse.c Message-ID: <20210323132551.GK2026@agape.jhs> References: <20210322192927.GH1717@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210322192927.GH1717@kadam> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 10:29:27PM +0300, Dan Carpenter wrote: > On Mon, Mar 22, 2021 at 03:31:40PM +0100, Fabio Aiuto wrote: > > fix the following checkpatch issues: > > > > WARNING: externs should be avoided in .c files > > 35: FILE: drivers/staging/rtl8723bs/core/rtw_efuse.c:35: > > +bool > > > > moved two function prototypes in include/rtw_efuse.h > > Can't you just make these functions static instead? > > regards, > dan carpenter > Hi Dan, sorry for my recent spamming, I forgot to cc you in my patchset v2 submit. Thank you, fabio