Received: by 10.213.65.68 with SMTP id h4csp188341imn; Thu, 15 Mar 2018 23:05:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELsncEVvIb021R8iuv53ZO2lidzqcTgA8o8mm+lPMtGINeOnkj6dUX8/7D6IK4Ie1jpR9FCX X-Received: by 2002:a17:902:b43:: with SMTP id 61-v6mr744777plq.270.1521180328639; Thu, 15 Mar 2018 23:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521180328; cv=none; d=google.com; s=arc-20160816; b=SWTYmcX5nmdtL+edfpbWYfl/HRpmyVdybUpa6V1uidShXZE5UVoS/xwWGeCdlUnvFM 23a9e+rrTricIcI0XfZI50eN2Kneit8wg7G21FZ6nKslxQy7YWcs+EqHTdCLN5EWht6R cx21vH+b1AW3TArU5bGuBRpc3b2j538JTsWpwfCqvK/SxJkeoLglQNnEutbH3ktg9g+8 8I2CmJEdZELn2sNytTW8tPwfOGA0kn2yejxZLrYnke2ylfhqhPwfPPrJtgCT+xbSz8ac BjMwjdoQnYEqdCSySLK5LdRNNb8YdS/nRK+Vv/42UQE1h4O0V8plU00bU03qdyVj2Sx9 vCeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YAfz3l2dvSOO/mRKxYqn4K0hdPxVdhU+PLwXjmMwEEc=; b=gnOnHCVhdyLmLQPlGOr10Gu8GmLErunNX+K3KT1EwWpPeREnr9BO5ZD/MTawWm89fY r1bnmkBBtknFDHwVaN50+W2QLs0QCGNHZWkPyJAqnAuWeBWpKtBvkfcukOeSxJK7ORyv khSkUW+hDAiF4vFi2qvlgUcJ76H+IBScgFmp8rwFp2K01k5vOBUky9f8jSe+HFyOa2vL 5cvUH3wBRxT+Gw77n1Xj/q4DJxdbpMTEIVqFIBlKjcbyPKI30Zh2ex0X0wf7UvAWubmQ FzpnBvp9jpZ2OcabgBHPN73Lc0DxLiWmIeyDdKhSCsxdfx/VwYhDUqTE7LiKe8Q0KzE9 XQNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si4535151pgb.115.2018.03.15.23.05.14; Thu, 15 Mar 2018 23:05:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752296AbeCPGEV (ORCPT + 99 others); Fri, 16 Mar 2018 02:04:21 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:54540 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750969AbeCPGEU (ORCPT ); Fri, 16 Mar 2018 02:04:20 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="37872003" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 16 Mar 2018 14:04:16 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id B13B44D0EFD4; Fri, 16 Mar 2018 14:04:13 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 16 Mar 2018 14:04:13 +0800 Subject: Re: linux-next: build warning after merge of the tip tree To: Stephen Rothwell , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra CC: Linux-Next Mailing List , Linux Kernel Mailing List , Lai Jiangshan References: <20180316163716.5525294f@canb.auug.org.au> <3b2889c6-3f0b-b0f4-d5a7-3b4cf5c5ef75@cn.fujitsu.com> From: Dou Liyang Message-ID: <5b2382ce-c51d-38b5-5c9b-4386e603ac68@cn.fujitsu.com> Date: Fri, 16 Mar 2018 14:04:08 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <3b2889c6-3f0b-b0f4-d5a7-3b4cf5c5ef75@cn.fujitsu.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: B13B44D0EFD4.AAFAF X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, At 03/16/2018 01:52 PM, Dou Liyang wrote: > Hi Stephen, > > At 03/16/2018 01:37 PM, Stephen Rothwell wrote: >> Hi all, >> >> After merging the tip tree, yesterday's linux-next build (x86_64 >> allnoconfig) >> produced this warning: >> >> kernel/cpu.c:129:13: warning: 'cpuhp_is_ap_state' defined but not used >> [-Wunused-function] >> ? static bool cpuhp_is_ap_state(enum cpuhp_state state) >> ????????????? ^~~~~~~~~~~~~~~~~ >> > > Yes, Jiangshan has replaced it with cpuhp_hp_states. So it is obsolete, > it should be removed. > I made a mistake, It also be called by cpuhp_thread_fun() and cpuhp_issue_call(), let me have a look carefully. Thanks, dou. > Thanks, > ????dou. >> Introduced by commit >> >> ?? 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and >> cpuhp_ap_states") >>