Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp606223rwl; Wed, 5 Apr 2023 05:28:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZM6iK3DwyBbFL6XlcmPpytN71mEBBiOHw/TXo1xaags9TPrX9Si6yNQPom9+AOunMdPh7h X-Received: by 2002:a17:906:c18e:b0:93e:9362:75fe with SMTP id g14-20020a170906c18e00b0093e936275femr3111572ejz.76.1680697693202; Wed, 05 Apr 2023 05:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680697693; cv=none; d=google.com; s=arc-20160816; b=BA12ETdaBHJf+Q8YtUVqjMGmgtueTNB96Bs480fzty7NGX1p+S5TfbIVe96EV5mOGd Hzi/Dkb28r3LLJNdBoGB3V2onrdVFZH8Ogw7rCB1sp1dHrsIMh+Tq4e1zMtJ22VjcXWk j50GcHCXD5PQJPZyXRsjsLbn8S/DBFcSG+Pz4j7R5FiwyCSxXSB/O3dJ38qz8T+e/Ehh gOg0aaAF7qrhgK6WnJmtFcSS9MTvoOaMzPh77PUyH/PLzaZm95zjpWpZRXj3mEsLSSSd 2T/o+mlUfGpJkD+kA9SgiPE8ErYiIgS4Laz0SUlyL546XfdxJYS+ajycjjT1sGGaVf/F FN5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BtaxBOj8mnM7DN2UjknzYp2RwNpAvLMIaj8lPVQZwQI=; b=lm1JweD650L4NUYcqB2hQpIQArNjO6bQcBCHbkvgsuMsdHfuH4hC1/QusbHlxNN+BE GLV6qHsovYyc1dwpWjekOlNWFfeV45NwYCIJiHnCLbueATvM25r637zS2XXAcMzJNv2e 7dRhAm/jiejqAqaVomg8MZ4k5CsYEEtGXeadt6QGfvxp0Wj+y0rV6nL36w6nJj95NyAI Z8k1mTcFAd1Y4f4s00AVh9AWnDD3BwhS/XbRFoH3aF67veAhI6E9Dgz9RZOSiR7L8B1o jf0VpE585uVb8OzJEIDZY5iboPfU04WixT/51Fe0AE07D8y4buX6/sMZ3+vyE+3v1WyT 3pog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EpvidRlb; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170906278700b0093defbd6292si759062ejc.1049.2023.04.05.05.27.46; Wed, 05 Apr 2023 05:28:13 -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=@redhat.com header.s=mimecast20190719 header.b=EpvidRlb; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237939AbjDEM02 (ORCPT + 99 others); Wed, 5 Apr 2023 08:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237986AbjDEM0W (ORCPT ); Wed, 5 Apr 2023 08:26:22 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9691F5B9D for ; Wed, 5 Apr 2023 05:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680697533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BtaxBOj8mnM7DN2UjknzYp2RwNpAvLMIaj8lPVQZwQI=; b=EpvidRlbdUV9x5ix7U5ux7iUMAiJSPliCKARVyO+AF8HlJYHGbzXM4KFfauiUZrtla5P2T zNEpYvzOTYHxYMS/mZFjRkczeRzjW3q3TCjcz/oUNmwhJY1af1tgGq6goiG9Sf7ZRNwPzo +Q4Q1SBX+RVcZKPQecrJMoRaeNC+gfs= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-135-K5GWBFPYMQO0LIZOvianbA-1; Wed, 05 Apr 2023 08:25:32 -0400 X-MC-Unique: K5GWBFPYMQO0LIZOvianbA-1 Received: by mail-qt1-f200.google.com with SMTP id f2-20020ac87f02000000b003e6372b917dso12299561qtk.3 for ; Wed, 05 Apr 2023 05:25:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680697531; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BtaxBOj8mnM7DN2UjknzYp2RwNpAvLMIaj8lPVQZwQI=; b=BE/KvD/zsQn3NJe7CQ6cgWSBkFDDM+64dF2/6OWDZOYb98oykaoYS9RfNLqtjhjwXq wYEHS1od9zJYjodNf8jlFdiZF9zI3bpBMOUTYkLsbQtd6mQAzNCJY6DO/8/LhTpmkaFY /ZagfM1MXIoJ+kGEc9XGvPpp/31kBdsrj3g/yHzwU94i65Cqz41Etau+Eee2ecv9M447 lQ6gaUpixGFqxLwRNfX+SXd2oZZ57eQwX+jgPq3TFihGOJRD5MlJ/mBz6gKxCq1uZtG0 s00BgaWx3WJMFmR9MxeUTXYGw+uw2SOVaouVMTbWGD9Uz7d3PQDgvsURN1SpA1kKHWIm KPzw== X-Gm-Message-State: AAQBX9fs/1EDHh03f8+ptY2Kxi9aI+4WRMyzcNwrRLASwYnLoM61ReBw 2rvXtmW9Y/Kxj/relfQQRHIJLkw/oq5+X9WU7D8WnM5AtQMaZyKNIgohG0WN3Bn0YQK3V/kt+Ye 2PKaG+0r70WskP50YjhpFbPEWcoVD/F4J X-Received: by 2002:a05:622a:5c8:b0:3df:50ef:faff with SMTP id d8-20020a05622a05c800b003df50effaffmr3851679qtb.58.1680697531665; Wed, 05 Apr 2023 05:25:31 -0700 (PDT) X-Received: by 2002:a05:622a:5c8:b0:3df:50ef:faff with SMTP id d8-20020a05622a05c800b003df50effaffmr3851658qtb.58.1680697531439; Wed, 05 Apr 2023 05:25:31 -0700 (PDT) Received: from [192.168.1.31] (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id b25-20020ac87559000000b003e45a39ed74sm3959361qtr.81.2023.04.05.05.25.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Apr 2023 05:25:31 -0700 (PDT) Message-ID: <120b6729-c329-ea4d-2f69-f8bc5c2925bf@redhat.com> Date: Wed, 5 Apr 2023 05:25:29 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] nvmem: layouts: sl28vpd: set varaiable sl28vpd_layout storage-class-specifier to static Content-Language: en-US To: Michael Walle Cc: srinivas.kandagatla@linaro.org, linux-kernel@vger.kernel.org References: <20230404163629.1923871-1-trix@redhat.com> From: Tom Rix In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On 4/4/23 12:09 PM, Michael Walle wrote: > Am 2023-04-04 18:36, schrieb Tom Rix: >> smatch reports >> drivers/nvmem/layouts/sl28vpd.c:144:21: warning: symbol >>   'sl28vpd_layout' was not declared. Should it be static? >> >> This variable is only used in one file so it should be static. >> >> Signed-off-by: Tom Rix > > Fixes tag? > I am cleaning all of the similar reports by smatch, there is a couple hundred. Because the code works as-is, I do not consider them broken and needing fixes tags. However I do not mind adding then if they are required. Tom > Reviewed-by: Michael Walle > > -michael >