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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F91BEB64DC for ; Mon, 17 Jul 2023 06:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjGQGqD (ORCPT ); Mon, 17 Jul 2023 02:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjGQGqC (ORCPT ); Mon, 17 Jul 2023 02:46:02 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A281B6; Sun, 16 Jul 2023 23:46:00 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R4CGD0NhYzLnrV; Mon, 17 Jul 2023 14:43:32 +0800 (CST) Received: from [10.174.151.185] (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 17 Jul 2023 14:45:56 +0800 Subject: Re: linux-next: build failure after merge of the cgroup tree To: Stephen Rothwell , Tejun Heo , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra CC: Josh Don , Linux Kernel Mailing List , Linux Next Mailing List References: <20230717113457.527d7483@canb.auug.org.au> From: Miaohe Lin Message-ID: Date: Mon, 17 Jul 2023 14:45:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20230717113457.527d7483@canb.auug.org.au> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 2023/7/17 9:34, Stephen Rothwell wrote: > Hi all, > > After merging the cgroup tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > kernel/cgroup/cgroup.c: In function 'cgroup_local_stat_show': > kernel/cgroup/cgroup.c:3699:15: error: implicit declaration of function 'cgroup_tryget_css'; did you mean 'cgroup_tryget'? [-Werror=implicit-function-declaration] > 3699 | css = cgroup_tryget_css(cgrp, ss); > | ^~~~~~~~~~~~~~~~~ > | cgroup_tryget > kernel/cgroup/cgroup.c:3699:13: warning: assignment to 'struct cgroup_subsys_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] > 3699 | css = cgroup_tryget_css(cgrp, ss); > | ^ > > Caused by commit > > d1d4ff5d11a5 ("cgroup: put cgroup_tryget_css() inside CONFIG_CGROUP_SCHED") > > interacting with commit > > 677ea015f231 ("sched: add throttled time stat for throttled children") > > from the tip tree. > > I have reverted commit d1d4ff5d11a5 for today. 677ea015f231 ("sched: add throttled time stat for throttled children") use the cgroup_tryget_css again. So I will re-clean the relevant codes later. Thanks all.