Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1762352pxb; Mon, 8 Mar 2021 05:57:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBlya/NwLB84YuBmp1MC6NWVJiOFV0/bMbDLZG8+aBZE7dFRqLiLZoZjUsqE4IgG9Iqi5C X-Received: by 2002:a17:906:bb06:: with SMTP id jz6mr14920235ejb.429.1615211823069; Mon, 08 Mar 2021 05:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615211823; cv=none; d=google.com; s=arc-20160816; b=cVivVH8M4KxoBteLSxKW372eVMnIyittOgcrdI518kVrb3fU+XaDfSNJbuceNMwwgh e0PmejxYG3dq9aegVetlqZxZn/iRg4s+1hnIeiiblBbLEhzX4EVXqqvE9buQdDAoSUiT 8pNG4CcbVVmWYoO/Yo5YYNWjCDi+ftT5gvbXXC7lmGzgyF1ymzfQJi2YoAPbmDW9fvrF wx2omgodl9WL3yENoEPg12Q/Sj+vGDR8g0cNl04g/sPe1u8F46LMeOmIGgv0RezUP25h k0xPE02Up8b/+ccbp9gWiz/sBs8i5H3hT3M4TTkzbuKRD8IDjPfWl7XBe/kIobvbi/X8 7q1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mAbW74EMUf5j7pN3HSEP9JBqZuh9lykiHoIS2j3ZlgI=; b=SUpfbdlJ9Jb3/5xLTPypBmu8uph5hb2vP8UMuo6gNcoc5YhgpM+L7ZJ/8R62XOX/K4 UCSScoushVefqkEV9M5YDpKw2lfKxbghSmGJIscSxBCGjO1pu9JWRd3BzMsC8roP46+v +nkh9L3nV/dQ5/b6JtZHLsh9lddLcXEE7Us06oTT4pOjt/0+Vu0uVgJAzy5wpkvy2XP8 IM1u2AmdsfjSqH1xziN29eN9JzUx0iKKkD4Od0W4/UGvt6yC//u2gaSEbRiFvd4PKDQT DeBSgbc6bEEKKvSPTLhP7Jifq6e5zOc3XM7+3Wt2XFG6p7aHJSm+uAWdCIJFX2+stZy4 75nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Si3n2lgN; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si3217542edr.332.2021.03.08.05.56.40; Mon, 08 Mar 2021 05:57:03 -0800 (PST) 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=@linaro.org header.s=google header.b=Si3n2lgN; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbhCHNzK (ORCPT + 99 others); Mon, 8 Mar 2021 08:55:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbhCHNww (ORCPT ); Mon, 8 Mar 2021 08:52:52 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91653C06174A for ; Mon, 8 Mar 2021 05:52:51 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id y124-20020a1c32820000b029010c93864955so3852068wmy.5 for ; Mon, 08 Mar 2021 05:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=mAbW74EMUf5j7pN3HSEP9JBqZuh9lykiHoIS2j3ZlgI=; b=Si3n2lgNxGMINJRyTI09ux/FEkCMdC7JTyUEVuR8ZVQwsDAix6lGj8GagwFP63H4SM lhKYvCnAXejkhyOBSiwvLUoJY7Q4lrXvDmyr6ExnEbjtGVy0ihp6SPpfnAnh2o6+sL18 kM7gH/p6UJOvShEdnA8g/kvLFCO4ltEF40vEZgV+lJRFdhnWttUK7S7719t7a+DO5srh /reRQFBAmVJ3HNnzJIxakG1AVaLWAucuJpEZXDdr1HH1qcnRlg3RwnrcEX8QhsdQ2BKK HrNxRa8N9aL7vSMoq0Ptm8QtXlD5Cdcwx6Ip6/85kiWrXrp9BlL4E8PHdWluXE3bblIZ kV/w== 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:content-transfer-encoding :in-reply-to; bh=mAbW74EMUf5j7pN3HSEP9JBqZuh9lykiHoIS2j3ZlgI=; b=lmTiporWC74SQe/IZg7esXfjo4L0K3LvLXLobbRaeu0NW6Bdy4QsosM1h+5A5Os5Fn 31spc07pArTTEMLhqpKofzLqPxYism+v4k3UhkPOe8HI5wMEazXYK+rd9IQc6NYDmghx +zliWloMhv4h9dMZeTcLpHB/7kD9i7alKrzy5pq2cp/hgWhVbeLHNN2zn9CTJxOTTvFz LAtEND6FYrBBfqyK8f2FfSob3l7wkIEYEEYN+wMZBlbUdSAYsnrRLtUVmgSYRnctlFnS mu+cDBjjk2Z7fTcCzywJJR9gH/p6RdaFGZkrA+aF7DS3S7/bjPjG5q6HTvQYVVoNqs5r ojmQ== X-Gm-Message-State: AOAM530dvHDujHHogxoUeZEfHdYFfNwv955VpsMIeXip7In6tB503QfP 1Ur6EFgU+JcuMNhJvQ9hm7Vv3w== X-Received: by 2002:a1c:c906:: with SMTP id f6mr21824541wmb.128.1615211570330; Mon, 08 Mar 2021 05:52:50 -0800 (PST) Received: from dell ([91.110.221.130]) by smtp.gmail.com with ESMTPSA id z2sm22515850wrm.0.2021.03.08.05.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 05:52:49 -0800 (PST) Date: Mon, 8 Mar 2021 13:52:47 +0000 From: Lee Jones To: Wei Yongjun Cc: Hulk Robot , Hans de Goede , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] mfd: arizona: Make some symbols static Message-ID: <20210308135247.GG4931@dell> References: <20210210075626.1096193-1-weiyongjun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210210075626.1096193-1-weiyongjun1@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Feb 2021, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/mfd/arizona-spi.c:28:31: warning: > symbol 'reset_gpios' was not declared. Should it be static? > drivers/mfd/arizona-spi.c:29:31: warning: > symbol 'ldoena_gpios' was not declared. Should it be static? > > Those symbols are not used outside of arizona-spi.c, so this > commit marks them static. > > Fixes: e933836744a2 ("mfd: arizona: Add support for ACPI enumeration of WM5102 connected over SPI") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun > --- > drivers/mfd/arizona-spi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog