From patchwork Fri Feb 25 17:44:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 12760771 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF1BAC433F5 for ; Fri, 25 Feb 2022 18:19:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OZFFkGix2HNlG6LknNIjYQlAP5CptIOepRcfmJNaOTY=; b=CKy8DvBtfGcYIG ODuvPTEbYmykpXTM48D0mAVny5OQPdVHhZX3I3Wu1Z9iWRAxKmqHC/+RtIiMlQ0ckFMhLCP6O9fHJ WN15LwGiUt8nIhhB1jOEPnhf1vme79S+/AafaV8feacsq1Uw8FNLqZlnVhVi/0gWV3htI76VAgfjJ ztvBPoGZtwYS7W35YyOn8J27Nm1oHmKoJWWtLiCny9sSAehLplJbYaXjT95pNZkyzWVnUu/OUylN3 c6W5A5ljjlO2y+q6OwBFtsZwyCMWh3/+8PUr6y14Y8hMgcOBShdIjcxZcZVsm0w23oRmAjGpdrTab aryWwlH/CoMYa9aUbCMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNf9m-006X8z-B3; Fri, 25 Feb 2022 18:17:30 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNedi-006KBP-Qr for linux-arm-kernel@lists.infradead.org; Fri, 25 Feb 2022 17:44:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645811062; x=1677347062; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=U4E/oib6OAFptVLM5QHMuOyHJnditsFCGioOZMNTp4Q=; b=SI443hjVTFNjgOkvjlEyQJ+EJPI/S0Ekc4ZWW8tzPeXBNNCrtmt4sSgo oCh6UrNoOeLUbyk3EgRMI0rKmKf7PcrgjbJM8jvjZVjNpljHGQxNJYeSg 90Ff/0Q+mc00cbloYAfrCZ6X27KqDY9dsaiZqGWPLNS3OtUm+s4lzApv+ P2RazIcK9GEbyATrkGpNOphl8wKBZTEm9ICGdc/7J+J+20vAE+wlNMFJW Th+rWy1X0NVhcApUvd+3WKEaDTkz/5dfmRrWhsbUe1ZuB4zmt2oZpva8c 6HoLLDBd/OtArKMFdB+fxuUIijkyuaLTxq4ZPP7aIZcACc0NqxTvR5JHu Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="315759888" X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="315759888" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 09:44:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="628916730" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 25 Feb 2022 09:44:20 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nNedg-0004ZV-5k; Fri, 25 Feb 2022 17:44:20 +0000 Date: Sat, 26 Feb 2022 01:44:07 +0800 From: kernel test robot To: Linus Walleij Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH linusw-nomadik] power: supply: samsung_vbat2res_discharging_eb_l1m7flu[] can be static Message-ID: <20220225174407.GA102223@9be3fde61b1e> References: <202202260125.d751ECgs-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202202260125.d751ECgs-lkp@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_094422_976066_5A309949 X-CRM114-Status: GOOD ( 13.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org drivers/power/supply/samsung-sdi-battery.c:29:35: warning: symbol 'samsung_vbat2res_discharging_eb_l1m7flu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:57:35: warning: symbol 'samsung_vbat2res_charging_eb_l1m7flu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:77:35: warning: symbol 'samsung_vbat2res_discharging_eb425161la' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:109:35: warning: symbol 'samsung_vbat2res_charging_eb425161la' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:186:35: warning: symbol 'samsung_vbat2res_discharging_eb425161lu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:218:35: warning: symbol 'samsung_vbat2res_charging_eb425161lu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:248:35: warning: symbol 'samsung_vbat2res_discharging_eb485159lu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:275:35: warning: symbol 'samsung_vbat2res_charging_eb485159lu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:295:35: warning: symbol 'samsung_vbat2res_discharging_eb535151vu' was not declared. Should it be static? drivers/power/supply/samsung-sdi-battery.c:315:35: warning: symbol 'samsung_vbat2res_charging_eb535151vu' was not declared. Should it be static? Fixes: 77f450def23a ("power: supply: Static data for Samsung batteries") Reported-by: kernel test robot Signed-off-by: kernel test robot --- drivers/power/supply/samsung-sdi-battery.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/power/supply/samsung-sdi-battery.c b/drivers/power/supply/samsung-sdi-battery.c index 8e718f0fc2b5b..3dbc05bc2e576 100644 --- a/drivers/power/supply/samsung-sdi-battery.c +++ b/drivers/power/supply/samsung-sdi-battery.c @@ -26,7 +26,7 @@ struct samsung_sdi_battery { * tables apply depending on whether we are charging or not. */ -struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = { { .vbat_uv = 4240000, .ri_uohm = 160000 }, { .vbat_uv = 4210000, .ri_uohm = 179000 }, { .vbat_uv = 4180000, .ri_uohm = 183000 }, @@ -54,7 +54,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb_l1m7flu[] = { { .vbat_uv = 3300000, .ri_uohm = 339000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = { { .vbat_uv = 4302000, .ri_uohm = 230000 }, { .vbat_uv = 4276000, .ri_uohm = 345000 }, { .vbat_uv = 4227000, .ri_uohm = 345000 }, @@ -74,7 +74,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb_l1m7flu[] = { { .vbat_uv = 3590000, .ri_uohm = 164000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = { { .vbat_uv = 4240000, .ri_uohm = 160000 }, { .vbat_uv = 4210000, .ri_uohm = 179000 }, { .vbat_uv = 4180000, .ri_uohm = 183000 }, @@ -106,7 +106,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161la[] = { { .vbat_uv = 3300000, .ri_uohm = 339000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = { { .vbat_uv = 4345000, .ri_uohm = 230000 }, { .vbat_uv = 4329000, .ri_uohm = 238000 }, { .vbat_uv = 4314000, .ri_uohm = 225000 }, @@ -183,7 +183,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161la[] = { { .vbat_uv = 3590000, .ri_uohm = 164000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = { { .vbat_uv = 4240000, .ri_uohm = 160000 }, { .vbat_uv = 4210000, .ri_uohm = 179000 }, { .vbat_uv = 4180000, .ri_uohm = 183000 }, @@ -215,7 +215,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb425161lu[] = { { .vbat_uv = 3300000, .ri_uohm = 339000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = { { .vbat_uv = 4346000, .ri_uohm = 293000 }, { .vbat_uv = 4336000, .ri_uohm = 290000 }, { .vbat_uv = 4315000, .ri_uohm = 274000 }, @@ -245,7 +245,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb425161lu[] = { { .vbat_uv = 3590000, .ri_uohm = 164000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = { { .vbat_uv = 4240000, .ri_uohm = 160000 }, { .vbat_uv = 4210000, .ri_uohm = 179000 }, { .vbat_uv = 4180000, .ri_uohm = 183000 }, @@ -272,7 +272,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb485159lu[] = { { .vbat_uv = 3300000, .ri_uohm = 339000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = { { .vbat_uv = 4302000, .ri_uohm = 200000 }, { .vbat_uv = 4258000, .ri_uohm = 206000 }, { .vbat_uv = 4200000, .ri_uohm = 231000 }, @@ -292,7 +292,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb485159lu[] = { { .vbat_uv = 3590000, .ri_uohm = 164000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = { { .vbat_uv = 4071000, .ri_uohm = 158000 }, { .vbat_uv = 4019000, .ri_uohm = 187000 }, { .vbat_uv = 3951000, .ri_uohm = 191000 }, @@ -312,7 +312,7 @@ struct power_supply_vbat_ri_table samsung_vbat2res_discharging_eb535151vu[] = { { .vbat_uv = 3280000, .ri_uohm = 250000 }, }; -struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb535151vu[] = { +static struct power_supply_vbat_ri_table samsung_vbat2res_charging_eb535151vu[] = { { .vbat_uv = 4190000, .ri_uohm = 214000 }, { .vbat_uv = 4159000, .ri_uohm = 252000 }, { .vbat_uv = 4121000, .ri_uohm = 245000 },