From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB037C433E6 for ; Thu, 16 Jul 2020 12:56:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D5CCF2076D for ; Thu, 16 Jul 2020 12:56:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728777AbgGPM4b (ORCPT ); Thu, 16 Jul 2020 08:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728799AbgGPM40 (ORCPT ); Thu, 16 Jul 2020 08:56:26 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B01A3C08C5C0 for ; Thu, 16 Jul 2020 05:56:26 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4B6vQB68Q7z9sVQ; Thu, 16 Jul 2020 22:56:18 +1000 (AEST) From: Michael Ellerman To: Hulk Robot , Wei Yongjun , Daniel Lezcano , "Rafael J. Wysocki" , Michael Ellerman Cc: linux-pm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <20200714142424.66648-1-weiyongjun1@huawei.com> References: <20200714142424.66648-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] cpuidle/pseries: Make symbol 'pseries_idle_driver' static Message-Id: <159490401706.3805857.7133480973769495238.b4-ty@ellerman.id.au> Date: Thu, 16 Jul 2020 22:56:18 +1000 (AEST) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Tue, 14 Jul 2020 22:24:24 +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/cpuidle/cpuidle-pseries.c:25:23: warning: > symbol 'pseries_idle_driver' was not declared. Should it be static? > > 'pseries_idle_driver' is not used outside of this file, so marks > it static. Applied to powerpc/next. [1/1] cpuidle/pseries: Make symbol 'pseries_idle_driver' static https://git.kernel.org/powerpc/c/92fe8483b1660feaa602d8be6ca7efe95ae4789b cheers From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67782C433E0 for ; Thu, 16 Jul 2020 14:34:12 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F4D7206F4 for ; Thu, 16 Jul 2020 14:34:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F4D7206F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4B6xb61DqZzDqvR for ; Fri, 17 Jul 2020 00:34:10 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4B6vQK6h7BzDqlZ for ; Thu, 16 Jul 2020 22:56:25 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: by ozlabs.org (Postfix, from userid 1034) id 4B6vQB68Q7z9sVQ; Thu, 16 Jul 2020 22:56:18 +1000 (AEST) From: Michael Ellerman To: Hulk Robot , Wei Yongjun , Daniel Lezcano , "Rafael J. Wysocki" , Michael Ellerman In-Reply-To: <20200714142424.66648-1-weiyongjun1@huawei.com> References: <20200714142424.66648-1-weiyongjun1@huawei.com> Subject: Re: [PATCH -next] cpuidle/pseries: Make symbol 'pseries_idle_driver' static Message-Id: <159490401706.3805857.7133480973769495238.b4-ty@ellerman.id.au> Date: Thu, 16 Jul 2020 22:56:18 +1000 (AEST) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-pm@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, 14 Jul 2020 22:24:24 +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/cpuidle/cpuidle-pseries.c:25:23: warning: > symbol 'pseries_idle_driver' was not declared. Should it be static? > > 'pseries_idle_driver' is not used outside of this file, so marks > it static. Applied to powerpc/next. [1/1] cpuidle/pseries: Make symbol 'pseries_idle_driver' static https://git.kernel.org/powerpc/c/92fe8483b1660feaa602d8be6ca7efe95ae4789b cheers