Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp175322iob; Mon, 2 May 2022 16:18:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+znBtO8FKSqb+QNX7CHWHBkdrBrzUyYx9xuyt8QPEE9QMgq2ck7oeuBAQTahscH9NubCP X-Received: by 2002:a17:902:f605:b0:14d:9e11:c864 with SMTP id n5-20020a170902f60500b0014d9e11c864mr13857141plg.54.1651533537985; Mon, 02 May 2022 16:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651533537; cv=none; d=google.com; s=arc-20160816; b=rqX9renJ94g4Hi0s075/INv+EPQ05QwICyy1yPIipRnhQUZA5BTMK2XT3pAngPZIVZ G9EYfG1EJyB8R6bP4pC5eYY7Sn/GjAzbKZwmQ63t70UJTE6pllel0TK91TUGfA/qvhv2 ikYF2z+vWzB8KJ1DYPfryTFkcFm9+ugVHL6zpQPOTG/ltHBhXdtXaxFnuE8Lybanz7Dv tGOuaIb7H5HH+ANbwIZosLbhRB2kk2lUuq6rnDrB3swir7M8pIypyJSexRRzs/3sbBJs miFyIdI39Ogdw7tEcLcR6pWXp6Jlz2ihQsKg5Y6y4Zv71hvnWBTlKqvr+8Rv47FtpHIA WKTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Db7SM18qWKB7TpzEEpOJB6Dd7eXYda2poIceJD5qIQ0=; b=AcqymQCI9j3mgHdNkDdR5IR5l4FTMk450nIjFO28Lt/zfsqZ6h1T4PE38CqpYEB5aE glWR8/Wqk4k1X3PLxNlKZfxO/465GIZTsqrH7Jvt7K0VJDGCArc0AfARtmAaKoCK4YFo ogyypwUTRz3Y1DNOorW9FlznRtO+hxDhthJ04ZSeraS4g6kO8OTOy0j4ffKOd7rC/Jht 8BeT3Ak7CnFoTF3JMiVwD6mWgexRK6ovecrfkoj25j4iEYnJebeXqu8+LslaIEJLla7C uOG7z964EXBG7Yj1w8gkYn7a7JQIw/pmyV3IY/IehZ5EysWwtGB6mtlDp0jjXScpS6fh KxUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v2L6OPPv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x184-20020a6263c1000000b0050d5174ec09si14297536pfb.332.2022.05.02.16.18.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:18:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v2L6OPPv; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A56C231376; Mon, 2 May 2022 16:18:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379169AbiD2Qbq (ORCPT + 99 others); Fri, 29 Apr 2022 12:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379117AbiD2QbW (ORCPT ); Fri, 29 Apr 2022 12:31:22 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DA7CD95D4 for ; Fri, 29 Apr 2022 09:28:04 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id e24so11442678wrc.9 for ; Fri, 29 Apr 2022 09:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Db7SM18qWKB7TpzEEpOJB6Dd7eXYda2poIceJD5qIQ0=; b=v2L6OPPvTDVMluFqfBinnzYEeZg+TQAooLhtKnj5z23NnEMB5AlQ1S9h4hP3kigsvY lVlJ2qwapd/5lx2gTdAMTEYWQEyxuKS9J/VsrV/N9nCo4vE0QlpY99oawxR72rPEmOwF FWuUKQjM6Es+kzEAbUNcA7zECo3pG3myP1pcXdtXuS++awIJCP9mNsXdRovICbkbKKPR 8XEsMNPfI1B/tQ+DyGkH7hp5rCdA+aC0Ko3aiIev/Hsl9cC+9GYymZCGadMdTg5guh7S BNcfhFpl5tGRBIxKZAn62/8Mp8DO5W5UbuArer0wdX6Qev0KS4chWOjySC8mS5dkW8yk OqTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Db7SM18qWKB7TpzEEpOJB6Dd7eXYda2poIceJD5qIQ0=; b=QyswbZTlfFEAVPoIGDg4j4IaK50S2MDPoEZMk4bJLDX+H1FrJ7jwDy6WktGnBsc6w2 K31F6nrxlhBOxy7RE7g1d8/DUs6+YLyWBYWjDugQkLZJ2o8GMRjbj659pwCnoOD6qk1k tBgQtMJjCuiSojvMap+5g7uZFoV8w9o+7VwvB4UGQx4F7mgywzj3WcM6pSfvTwAlS2xV 2iSzDa7Z/ZGQ3uVrgDZXDHrMTanqjxtM+vGiBLwx+9xh9IUwjAjFEc9lMFBUDCcfnvp1 9jiip01mxn1mi4dqG949ypxLObzPwMBKTkgFPaVcpnc2l1K6TLroo0FGtXqMypplRqDi Fs7Q== X-Gm-Message-State: AOAM533fRnWJmY+wfbFiqWB0mp14eU3Bjl4gdFKCeBKnyQsyQ+lMvKHi agBUtyCr8WYufgxvPhKVMlW0+w== X-Received: by 2002:a05:6000:1e08:b0:20a:873f:13b3 with SMTP id bj8-20020a0560001e0800b0020a873f13b3mr29949716wrb.52.1651249682586; Fri, 29 Apr 2022 09:28:02 -0700 (PDT) Received: from srini-hackbox.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id b5-20020adff905000000b0020a8781be70sm2781801wrr.12.2022.04.29.09.28.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 09:28:02 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski , kernel test robot , Srinivas Kandagatla Subject: [PATCH 08/16] nvmem: sunplus-ocotp: staticize sp_otp_v0 Date: Fri, 29 Apr 2022 17:26:53 +0100 Message-Id: <20220429162701.2222-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20220429162701.2222-1-srinivas.kandagatla@linaro.org> References: <20220429162701.2222-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski The "sp_otp_v0" file scope variable is not used outside, so make it static to fix warning: drivers/nvmem/sunplus-ocotp.c:74:29: sparse: sparse: symbol 'sp_otp_v0' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/sunplus-ocotp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/sunplus-ocotp.c b/drivers/nvmem/sunplus-ocotp.c index 81aba80bdd10..52b928a7a6d5 100644 --- a/drivers/nvmem/sunplus-ocotp.c +++ b/drivers/nvmem/sunplus-ocotp.c @@ -71,7 +71,7 @@ struct sp_ocotp_data { int size; }; -const struct sp_ocotp_data sp_otp_v0 = { +static const struct sp_ocotp_data sp_otp_v0 = { .size = QAC628_OTP_SIZE, }; -- 2.21.0