Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2272853pxp; Mon, 21 Mar 2022 15:32:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPB2P1+8JTUK7WjLEjGfFQNKThwHZnU6kCMTxfIvIgFbw+VjApccwOXz04Etwj7FkcpJOD X-Received: by 2002:a17:902:7613:b0:151:6e1c:c49c with SMTP id k19-20020a170902761300b001516e1cc49cmr15078363pll.109.1647901975336; Mon, 21 Mar 2022 15:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901975; cv=none; d=google.com; s=arc-20160816; b=iTMlZ2XCduQnENir+CygTAHwz/k+/7WMXe0dgM8O4Fu/Jk7Uue/n7D8R2KXbwRUAfP qLpWXTfw9RTNxd52xUioWmhtNYyXU8hTZReYlO8ENjzXwIZ0HB9a/SxFWpW3upr7XuWZ IooudhQMcEcnSrX0rQqPOiRwh6e+Zzxfsk4Z+zHXYDuETt9tWbanjEY9KG2tlbj0XlZF DRnIZu7cSnX9PsIGSS6YJfrywBFclZVqP0zueMWk/+zVetgo7ftTjeUzuItipWGNG832 fbye+ZdGUvfe4swRdUll/A1vt1Yqv6Y7JqSWOahYDVFgFLlYuWTz7hs9fLoRPnNd2eSf rW+Q== 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=gvIzSZ/WP2eULCzdWEzqKqnJpdNup+V1bRxNUSUNPcI=; b=RZQ6hyaWl6/so/R7S/ifpYw8sFomKB/6WjYY0NWwZrjjHBIm2ZebFzkKEls3ggT/DL Oh6TMDqGN/F/7OtaVajP601I7N/u0p7HwPJ/RG4m56XJ57y1Dk+NF7TkYMMSS56BOInu 0wMU0mL+8JleNLhw/A0FccVXnz+wbFAz81KJ0nsoAn8pL7GZISzUoltmJaqtFGMjM9r5 TNCEBOyhpgr1zZHVGIBYzY/z3u7fgW1TrstP7XSGOvYo3ofzYc0TGaCyVxKFrXgrslcT ul7mc2nSZJjZl15vbPlkKQUgnt7EE8umlpkPiZBN9HCHWCRhCz6NR1ZI3GMSoZo8BDsA +XNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MaKxK6cZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w6-20020a170902d3c600b00153b2d16400si11122649plb.8.2022.03.21.15.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:32:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MaKxK6cZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E27A3CE860; Mon, 21 Mar 2022 14:46:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346621AbiCULFo (ORCPT + 99 others); Mon, 21 Mar 2022 07:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346618AbiCULFg (ORCPT ); Mon, 21 Mar 2022 07:05:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF3D4CFE for ; Mon, 21 Mar 2022 04:04:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 961F2B81233 for ; Mon, 21 Mar 2022 11:04:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A36ECC340F2; Mon, 21 Mar 2022 11:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647860649; bh=zv668qAoExrUasluFiN0q3W5Z+EnZOKN3WVhPjJ7+Po=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MaKxK6cZSGvyv+AqYhKNKB+yE/Ua5wwqo6JxNOSSsqwhCEqJPgdl7KEqOwEm/Mmd2 lHMiqQzJzx/1rtpiNlvqXwkQ6D1gHbNFHq5n0G6er+PFsO0ZUuxter2WUm5qtk7gSb GjORhEp4fSy0k5a0lK/MzwZamyihDKcEVgnPdcluhv4KHAqWip0UkI54RC0q9iMKEw HU8jWvnSP5nhUELlQK/SGIlm+Lmz1+D4UQEFi6h4mK9llOSN/Ih8Mu+KYmhPqsxzLT 4qwdABtmxSi6XVn+0fy/Cmsnr8z81YrN22U7E2DxZ3wVHnluIV7Cp0YWQJCsWxBn9U +iVl3hgEL7wzg== From: Krzysztof Kozlowski To: Srinivas Kandagatla , Vincent Shih , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , kernel test robot Subject: [PATCH 2/3] nvmem: sunplus-ocotp: staticize sp_otp_v0 Date: Mon, 21 Mar 2022 12:03:25 +0100 Message-Id: <20220321110326.44652-2-krzk@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220321110326.44652-1-krzk@kernel.org> References: <20220321110326.44652-1-krzk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 --- 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 2dc59c22eb55..c94134649714 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.32.0