Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1417182rwp; Thu, 13 Jul 2023 10:29:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHcaacsLe/absRDXa0vWVp+cUqqZUzf/DbW+nfYoxicumpEA4FYZFLdlsat9pHijTDfeAw1 X-Received: by 2002:a05:6a00:1827:b0:67e:bf65:ae61 with SMTP id y39-20020a056a00182700b0067ebf65ae61mr2209438pfa.28.1689269382261; Thu, 13 Jul 2023 10:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689269382; cv=none; d=google.com; s=arc-20160816; b=cRkfrp1xHbrSeuULQRlmVfJ/XYW6eRP1XMg+B2xEsEMCvq18/Sg/Ap/k9jZ10d5W1T 1oVppG8oIXfddojCzvoFrSoi6dU8Bcapg9Uy9XMclmkFNBBKrciprnRTLu0N5i90o8Hx cEoqzkS4PQkZ9cPvz099q27r+1TVbGr6Knu5df6VLJIMR2i6hFBtevdXfnI7/4sy/tjs 7CNfTCKCULFF6G6Iw68BvsJVPjbjtugzo7SgWGtNC2b0MlW5+TJ0PJHoV30yv52gBLG7 r4GmbCgemu6FvNbdPqNBBpSjAje9HyllZHxAjOAMsVm9cSTXGh7iFZLiAdkquHm2/ypQ xpSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Lwu1I3VpHiRFp8zypeMBICpm5L6K6gQ6kqfkIVHdvMc=; fh=Q525vk+baZ2RHnR/sZlmvmotBMGQNWU4kBmCUtmZjoo=; b=UaPNi7LkCPXR6m46AAztWotv0kmFCcMFDkVSYV17UAyQCTdNgnE2LkscPjYoYsodfR 6mjSCpK+ECGcKS8KDE3X2RAEl6qsedquGJ39kP1pHHcK417HQTMMpBfyPIM5Ti1XZZFE MpO6u93tS81GhlOGruIKGB0AWuE4MXU6IEY4HMj3fADskO1LmJRH6E3zJdtRGXkNaucM 2n5ASv0HBJ7kiTrDMSTNB5ZTfG8GGH4TguOfr0dDBaGVrmCyoTwXNWvCLfSG/pGd8Dce FUW6DFTuTMtKzzpFebamQ8dd44DwKsgvpydgGfuLMl9axLBzcJBZwGXPygh3JAynrTS5 qWxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zFWNwpn2; 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 x2-20020a056a00270200b0068219eb27aesi5260301pfv.182.2023.07.13.10.29.30; Thu, 13 Jul 2023 10:29:42 -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=zFWNwpn2; 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 S235071AbjGMQ42 (ORCPT + 99 others); Thu, 13 Jul 2023 12:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjGMQ40 (ORCPT ); Thu, 13 Jul 2023 12:56:26 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C0932701 for ; Thu, 13 Jul 2023 09:56:25 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-57764a6bf8cso8690157b3.3 for ; Thu, 13 Jul 2023 09:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689267384; x=1689872184; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Lwu1I3VpHiRFp8zypeMBICpm5L6K6gQ6kqfkIVHdvMc=; b=zFWNwpn2GNJcLzXXrGrWS9AKcJ0DImSUU6+KRjzpFMbDaeYobKGiU7x9m8EJalI2tp zsjvwBdbBi20McV5zc4GtM4zHzLEEH4x3AQaoj1rXZYA0lNRIT/0vu0EJIrgUZQe6DEM umfVTs0yWF3sKmpfy0F949JSI3lHq9olo2SaHYWxzOV6hTLIrlKT9w31wlVqJ93dH4aL 5dQCsQFdDfcyzUh4oTIir9yZcG9y1wmgeD95vkLqz5WMOgsuF95L7rpnITMIiyTwDbyR ibh/4EY5usxLdaH6e5qFF0qnBNl8epNwGqFcI+9hqSrs26OZ4tXumjJnlBql/F3Fb588 4jrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689267384; x=1689872184; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lwu1I3VpHiRFp8zypeMBICpm5L6K6gQ6kqfkIVHdvMc=; b=fo+o2+H0K/GntpKZW2deTUNUuSHwff1X1EWvTEIQ6H0oRAbTQ6qFq67Xy/vTAXhO6z wp0jan+A4t39rbduwiE3kxP9WsxbtANi4YyAyxjDcObHDZb2IYPOmKMr4SkGpRxe5vQQ Sbm6J5bbl5+7WJgrdfHHJr5eaYGkq5gNcoqerF5ehwDoc8DYRVPkWbbuJpW/B1pgjjGI mNkBLDantmZ0Onvfp3ClKYzOv7NPWlIXuczR0g9JZcpD30lnu10Su3XdbJC+uJAXZtHx G6RFJpFmOjzX5/3/l46w5Fjx5qMAwmdHd2D5HjnK/FhrCAgwz4tqL88M5KHH+6rI/K/X t/yQ== X-Gm-Message-State: ABy/qLbyTlbnbc9h0+MJi72Q9yorZ7sZUdsjX0jrRUMnDyRzoCcHht/n kd5qjynAoTbRtYXp69KSEtRpF9upUSY0QZTsq0iTdw== X-Received: by 2002:a25:32d8:0:b0:ba7:7664:916b with SMTP id y207-20020a2532d8000000b00ba77664916bmr1776961yby.20.1689267384460; Thu, 13 Jul 2023 09:56:24 -0700 (PDT) MIME-Version: 1.0 References: <20230713160415.149381-1-minhuadotchen@gmail.com> In-Reply-To: <20230713160415.149381-1-minhuadotchen@gmail.com> From: Dmitry Baryshkov Date: Thu, 13 Jul 2023 19:56:13 +0300 Message-ID: Subject: Re: [PATCH] thermal/drivers/tsens: make tsens_xxxx_nvmem static To: Min-Hua Chen Cc: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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=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 Thu, 13 Jul 2023 at 19:04, Min-Hua Chen wrote: > > This patch fixes the following sparse warnings: > > drivers/thermal/qcom/tsens-v1.c:24:40: sparse: warning: symbol 'tsens_qcs404_nvmem' was not declared. Should it be static? > drivers/thermal/qcom/tsens-v0_1.c:26:40: sparse: warning: symbol 'tsens_8916_nvmem' was not declared. Should it be static? > drivers/thermal/qcom/tsens-v0_1.c:42:40: sparse: warning: symbol 'tsens_8974_nvmem' was not declared. Should it be static? > drivers/thermal/qcom/tsens-v0_1.c:64:40: sparse: warning: symbol 'tsens_8974_backup_nvmem' was not declared. Should it be static? > > No functional change intended. > > Signed-off-by: Min-Hua Chen Reviewed-by: Dmitry Baryshkov > --- > drivers/thermal/qcom/tsens-v0_1.c | 6 +++--- > drivers/thermal/qcom/tsens-v1.c | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) -- With best wishes Dmitry