Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4410686rwd; Sun, 11 Jun 2023 07:04:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4b2Q7r3fj0J7LrRm0u1jrNoq2vGzYxeVG31yL7FW8GJvNFohXMM03oVUa8qWJ8PdUIcab3 X-Received: by 2002:a17:90a:19d7:b0:258:de1b:9dcc with SMTP id 23-20020a17090a19d700b00258de1b9dccmr8272749pjj.9.1686492291948; Sun, 11 Jun 2023 07:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686492291; cv=none; d=google.com; s=arc-20160816; b=RYXKynFib8RZjLyPGsx4a+mPILZmqJEgGqLDV4jgb0Wvo5IJJZwr1zzUN8PjwZ9Z9n Rh3h5yJ/WkTU1tryrhm86kSM0arCqYslmK50HryL10PTzwZ3TnhR1c7WX8dAGD24hXLB i6oV+0WIsCK3S4Q+j+1+oLzzl5GuQYLYuNPhFsRA2PniAHT0tIqEiviEwNtoaa6wcHbh JfG5vr6F/9gSVKR2J9TYGpzjaMG3+tJw+1vUOW6gHJUb5x1Gara0VAjTcWoGxtkgsXvJ pqCZSl2UDHBVQ1TNhqloeNEU0K//gqocQUJMP0BJFxNNK67U+0KJIv3QKxQvUXMhS4zL ZgQA== 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=cfD9z3doIWc1jROuRPtnKsZDZxUKF4oVXT2gOudcnaU=; b=Wbnpk8d1Bchmr9BrtUde7bt4jRK2c02kdMq3UnI4iGTyTbViKIrBKAGVBf0w7Jj1gl PZYwtyfH/tT1nDRdlgqAakk+xS/E6nwN0VScrkJB99GhPtO83ntIOhW4DdBsPgVBWF6a EjtcjkN5M3O1ph/V6k+iShtruoRwhwlr3jKP5yH4DVgyGuOsfpeNWunv13TMhIteuqqY BQa5/AIwIbLe+jjvJZ8LhmvB5F/3FnUMDdoPK/JsZToAwTiS6M1vGqcse+wA4zsEbh5F OD8ID1EpPzx02v9CT5Rv3+IvMJyXlB+JRnB5qbYkeGD5413seKTmbMnVIct3GMu02HNf ufNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="V5D/kHDm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my18-20020a17090b4c9200b0025bb4a1c12esi2260697pjb.148.2023.06.11.07.04.37; Sun, 11 Jun 2023 07:04:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="V5D/kHDm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233383AbjFKODv (ORCPT + 99 others); Sun, 11 Jun 2023 10:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjFKODq (ORCPT ); Sun, 11 Jun 2023 10:03:46 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 807C0E7A for ; Sun, 11 Jun 2023 07:03:45 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3f7ebb2b82cso35883685e9.2 for ; Sun, 11 Jun 2023 07:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686492224; x=1689084224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cfD9z3doIWc1jROuRPtnKsZDZxUKF4oVXT2gOudcnaU=; b=V5D/kHDmtRkrv3f8gHnkc2ywcBJ2XuOZ77qgIUQgOLJ0XfCgP3yDapAJGO5lKXQHeJ Nu7xeapGi87T+JNdZI8Yq8qBYEn8pA25+e8hRsAaema0LTnV2FbAm6dxxodLGiUCjOXU PobDuLUQCHok3/UzKV5XYRQZD7QuUIyM4In4unnIpEK5EesI1EMap9lOr8mDcUqLBv03 lzXCBWoCntQzo48p01W/Gz2o62W9T+4xYb7lbkXyi1+ex9u7Qk+PmYzOtL180axI/3xC Jk/4WewopenduU/nYr2vIAUoXYNB3opw0rlsVxswxj0wLj4gzeoXffRjkIAFsS1T+wrN 2Ing== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686492224; x=1689084224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cfD9z3doIWc1jROuRPtnKsZDZxUKF4oVXT2gOudcnaU=; b=cP2ItEq91vOsm6JKHc7QHnRGI2LKXIv5dlQYTva21YXQqWPYjPa2HIFY9eS85h62WU FeXq/ieEnO5iJFFydPdWTlhpGBexYz+QuelvutHZVcTMD2eLa47Wd60NRj4EBt8gWT76 nip/xPXiyyzCfIOqhhMA96in+DFuY1aI2EpO5VdMZPNNwZ6X39i7fHx1Hiq02WsiEGTG Q5nm5YhRq/AadPwK4znZAZWIN9Yy4E8yHPTfduX5LjGwdtkVQjh8Gc8CrhTDxDi8Mr72 3BndX+yH4lrvbAnURzSHqffiH7OG3WDZvFm01QGSzGiqlabcxOhL9leDvbY0t9WWnYvk +y1A== X-Gm-Message-State: AC+VfDzHrtdagwkSckDcFdwYcWQ/bgG/qJq+pJYWQbFsX8Y4kQguTuJ0 0IqMSZySR1i30Apz6DyX35maKk2hCZ33wnAS5AY= X-Received: by 2002:a1c:7909:0:b0:3f8:a15:b516 with SMTP id l9-20020a1c7909000000b003f80a15b516mr4582237wme.7.1686492223790; Sun, 11 Jun 2023 07:03:43 -0700 (PDT) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id h17-20020a05600c28d100b003f080b2f9f4sm8567222wmd.27.2023.06.11.07.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 07:03:42 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Tom Rix , Srinivas Kandagatla Subject: [PATCH 01/26] nvmem: imx-ocotp: set varaiable imx_ocotp_layout storage-class-specifier to static Date: Sun, 11 Jun 2023 15:03:05 +0100 Message-Id: <20230611140330.154222-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230611140330.154222-1-srinivas.kandagatla@linaro.org> References: <20230611140330.154222-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Tom Rix smatch reports drivers/nvmem/imx-ocotp.c:599:21: warning: symbol 'imx_ocotp_layout' was not declared. Should it be static? This variable is only used in one file so should be static. Signed-off-by: Tom Rix Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-ocotp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index ac0edb6398f1..fcea9c04be96 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -596,7 +596,7 @@ static void imx_ocotp_fixup_cell_info(struct nvmem_device *nvmem, cell->read_post_process = imx_ocotp_cell_pp; } -struct nvmem_layout imx_ocotp_layout = { +static struct nvmem_layout imx_ocotp_layout = { .fixup_cell_info = imx_ocotp_fixup_cell_info, }; -- 2.25.1