Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3300345yba; Tue, 16 Apr 2019 08:35:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrTsJwmras3hzmHSdigY8jtbKjArwNRpFwF8Ld9+qSnDcAYeSmNfyxCVE577YsZL38F9w+ X-Received: by 2002:a17:902:8c97:: with SMTP id t23mr82806637plo.110.1555428937749; Tue, 16 Apr 2019 08:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555428937; cv=none; d=google.com; s=arc-20160816; b=x3k1EhIv01kWo3wLNrvgUnvJoK3Tyjzf5wxheyPwaYbpixGKvFwTZB4dEajX55m22V QArPcBYAqjAG99bX+usbFpPq/Wvtp7VALnT1xg6gpSrAQdJLJv3ixvB67u4PmCXsKWL1 8jHoGcoW/VJZoj3Apy+ZtfhnlzbH4zaYHeVw6XoLf8ChJz9ncE6f7yHjQ6aTOwQmfn2V O+Kgju8Rg5ZT6wioxOppcj/t1SYG7aw2d3oPp7pEgN8SRzHEdYVHCqTqBNWrgHz8umkw EVNTale9lkXXJAGBtliul4lUaYWx1dDAYBvjr0s8R5FswerT+9CtUNiKuwHszHeUbefX eMrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=61MvAHL/EPzyX/edUQQ7IU72jytbHArLxrUanjOictU=; b=JJ721MqORWF8RWYS4KIKEI90Hh7J1S6LUBfkUqrTjFTJxCEpxotPWo8ncI2VcPuPRm jhbqfhglT7mQE/J0o0YgXEKAULOjiVY5mA568HB9AwMpfyefEqmzOhJLdhomkfTDYcx3 Sq4juHRCY+EfflbSUmaO9S3Uty2uif095lgetzFNGw60hEAnzl8QDSNBjqDYbsWO/Rd6 5D9zrAsCo188M/fNUl5ToufI1SgkAUqaTOS6xoaDDnbQPQCPELuSiS7aVin7B7HFkIy/ 2csIkb8aFUi9Rw9B5q3GWo+gYgs8c9tmCCu6uxFATYw0MgQiRrsE1gwirEKlBkW8LZz9 YKIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="X2obqZx/"; 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 n80si12770151pfb.169.2019.04.16.08.35.19; Tue, 16 Apr 2019 08:35:37 -0700 (PDT) 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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="X2obqZx/"; 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 S1729853AbfDPPdN (ORCPT + 99 others); Tue, 16 Apr 2019 11:33:13 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46210 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726946AbfDPPdL (ORCPT ); Tue, 16 Apr 2019 11:33:11 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3GFDFHZ019039; Tue, 16 Apr 2019 17:32:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=61MvAHL/EPzyX/edUQQ7IU72jytbHArLxrUanjOictU=; b=X2obqZx/dvmQWr7TNSs+MXgob6avjxXr59JCDfEKb03tdk+Z8TUg88ifhDMMgxMtn3Kn pgnfDAZb5F/9IJHulDJyrD/s1ydetoKBiFZNQB175zE+G76X+Chj/Htt9EafCRQzF10j xIwp/5SsHmMTMuGgE20tHmyb3smor9b9YojC33Ojgaf0s+xJft+YaaGDWI1n4bYatB2K hFjIBXrXuQwzGPWsJVN5DEa6j4HZyBoWJNQ8szQbylxYdc9bFfoW67UVx1CnG0kmHAl/ ZALROHPzc3JJsSbxK7meuTbat83mKZVEoWlMvKzVZZttZdu9GgdG4ASJkcNiMUKoPEuA dQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ru6ngskya-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Apr 2019 17:32:48 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0C30F31; Tue, 16 Apr 2019 15:32:46 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CEE71272A; Tue, 16 Apr 2019 15:32:46 +0000 (GMT) Received: from SFHDAG6NODE2.st.com (10.75.127.17) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 16 Apr 2019 17:32:47 +0200 Received: from SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6]) by SFHDAG6NODE2.st.com ([fe80::a56f:c186:bab7:13d6%20]) with mapi id 15.00.1347.000; Tue, 16 Apr 2019 17:32:46 +0200 From: Pascal PAILLET-LME To: kbuild test robot CC: "kbuild-all@01.org" , Mark Brown , Liam Girdwood , Maxime Coquelin , Alexandre TORGUE , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "yuehaibing@huawei.com" Subject: Re: [RFC PATCH regulator] regulator: ready_mask_table[] can be static Thread-Topic: [RFC PATCH regulator] regulator: ready_mask_table[] can be static Thread-Index: AQHU9GmkqboxS7KZ10S8loxUEkpQ/w== Date: Tue, 16 Apr 2019 15:32:46 +0000 Message-ID: <5CB5F59E.6050905@st.com> References: <201904160046.ggavw2OV%lkp@intel.com> <20190415165238.GA71613@lkp-sb05> In-Reply-To: <20190415165238.GA71613@lkp-sb05> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] Content-Type: text/plain; charset="Windows-1252" Content-ID: <32DB909AE251DE4A918397290CA9C124@st.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-16_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The same patch was proposed by YueHaibing Acked-by: Pascal Paillet thank you, pascal Le 04/15/2019 06:52 PM, kbuild test robot a =E9crit : > Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators") > Signed-off-by: kbuild test robot > --- > stm32-pwr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.= c > index e434b26..222d593 100644 > --- a/drivers/regulator/stm32-pwr.c > +++ b/drivers/regulator/stm32-pwr.c > @@ -32,7 +32,7 @@ enum { > STM32PWR_REG_NUM_REGS > }; > =20 > -u32 ready_mask_table[STM32PWR_REG_NUM_REGS] =3D { > +static u32 ready_mask_table[STM32PWR_REG_NUM_REGS] =3D { > [PWR_REG11] =3D REG_1_1_RDY, > [PWR_REG18] =3D REG_1_8_RDY, > [PWR_USB33] =3D USB_3_3_RDY, > @@ -44,7 +44,7 @@ struct stm32_pwr_reg { > u32 ready_mask; > }; > =20 > -int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) > +static int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) > { > struct stm32_pwr_reg *priv =3D rdev_get_drvdata(rdev); > u32 val; > @@ -54,7 +54,7 @@ int stm32_pwr_reg_is_ready(struct regulator_dev *rdev) > return (val & priv->ready_mask); > } > =20 > -int stm32_pwr_reg_is_enabled(struct regulator_dev *rdev) > +static int stm32_pwr_reg_is_enabled(struct regulator_dev *rdev) > { > struct stm32_pwr_reg *priv =3D rdev_get_drvdata(rdev); > u32 val; >