Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp13772001rwb; Sun, 27 Nov 2022 11:03:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vkVk79bObdliGj3RDzAwGQGoKdVlGsgKGuEZBhzs68ZrsVAb8r3AUxa1dH3aIPcpv8AVj X-Received: by 2002:a17:906:9702:b0:7aa:5e6c:4b59 with SMTP id k2-20020a170906970200b007aa5e6c4b59mr28671824ejx.231.1669575825542; Sun, 27 Nov 2022 11:03:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669575825; cv=none; d=google.com; s=arc-20160816; b=RnzbrHbfeAyAmeauu7PcMwKMQa0sPyI7MgpLZWKDwIJSSv2e2+0ngxc4BRNNjpWh9B KIaOJIHwDVHO6tuBANRLloYkVEUmO3v3o42s/9ZBV9NJyEdmCG5nOTEqBdcOk8xegdWB FCxcQQz9xXPcui0P0axk63f8c7R6c/5Zq03QwbCrZyu4FBLO/X5p2Fify+mG6dzCsAiK 9WtJA+PnhOFZf0/kuw6FfnoQFZJQKijj6iqIyeUCVrkf+dtKU7p5I4/nbK3zmzq8wIYV GBFtIY6WWXI8gAsMZwxBsQXG1SHE5vnB309jfAlyOdVdQj96rUFr87Tp2e66b/Z7mO38 wNeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CWEl7ybAdeRs89avhn9SgdXtGe7lsD5vsHPatlNThTU=; b=l/5dCnZPzxw5uHoFIp7ISqQeN8cA8LgG12s3eFbMoOYtVTzv12UyZBv6BNXXrSk6jJ GxnVJyFlrgkO6Au9rWMAOy1JJPPZdIEz2Izb1fbYOZyM8L2jM5ikyELfAXlKLheZYCoi +PYRn+fK+PIgXmmilpcEPe3ccSbK8EU4bJGRwZs5MnS96/9vJfMR/WbgerLKPOxpQjdt qo90aYGn5yol/UDQCeYchqT5vUADr8Jv15rI6Lhpws9ZvD2DQL5nXKMvJ6Cm5DATFj9u vVk3ZMCjStMaypd0AHGoMGTdzoqDYGj36DIu0bY2Lnb9JKZHFbMoi28ZHypSIdV88bRK ROTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZFVrzwYy; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a056402518d00b004614f376c2fsi9503108edd.88.2022.11.27.11.03.20; Sun, 27 Nov 2022 11:03:45 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=ZFVrzwYy; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbiK0Swq (ORCPT + 86 others); Sun, 27 Nov 2022 13:52:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiK0Swp (ORCPT ); Sun, 27 Nov 2022 13:52:45 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3896D273E for ; Sun, 27 Nov 2022 10:52:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DCE87B80B46 for ; Sun, 27 Nov 2022 18:52:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E192CC433D6; Sun, 27 Nov 2022 18:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669575161; bh=NIIJlLgp/x7uMjF8WQ+7w/VUHqd6Tc7r7AMNGaKzYOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFVrzwYy0HQWy+6B7MNuruj8SK2zZyjTHdSbTOF7w1H8TQp0VaImF8l3/a87WvfLN +ZzQSGbr+aqHH/uNnHQTCxOwqZjajBsie1CHaKQAfMW7b59NeHCQ+J8QGk8bHVaO1B 3rWhcUHOKC/r5FA4BzgNPEvhLn1bM/FiY73/a7XMYs7dWS4Zi/5lWJwS1QDv2CSU9D jnWV5Wxl/mF/snNwqsFqXhUYw1uAukXkNAcKy4X3pcFCvvh+ROd4VvgNNVg2z7qh5w dsjDSX1URiJNgmjXLhUFzy3B47aS/5oqTYASNqRcwHkP1IIj74/3KRh94UznzR3laO jOkwsTUOL0QEA== From: SeongJae Park To: kernel test robot Cc: SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, oe-kbuild-all@lists.linux.dev Subject: Re: [sj:damon/next 27/30] mm/damon/sysfs-schemes.c:1409:26: error: invalid use of undefined type 'struct mem_cgroup' Date: Sun, 27 Nov 2022 18:52:39 +0000 Message-Id: <20221127185239.82898-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <202211261843.IwGJRcdf-lkp@intel.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi Robot, Thank you always for the report! On Sat, 26 Nov 2022 18:26:31 +0800 kernel test robot wrote: > [-- Attachment #1: Type: text/plain, Size: 1887 bytes --] > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next > head: 61742c95d33e74cf64b7d5b8e51f12adef425b3e > commit: d768680bbe8153f2b79382bd2cd5d6734b6f5c42 [27/30] mm/damon/sysfs-schemes: implement scheme filters > config: xtensa-randconfig-r014-20221124 > compiler: xtensa-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git/commit/?id=d768680bbe8153f2b79382bd2cd5d6734b6f5c42 > git remote add sj https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git > git fetch --no-tags sj damon/next > git checkout d768680bbe8153f2b79382bd2cd5d6734b6f5c42 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash mm/damon/ I couldn't reproduce this issue as the last command above gives me below error. $ COMPILER_INSTALL_PATH=$HOME/0day make.cross W=1 O=../build_test ARCH=xtensa SHELL=/bin/bash mm/damon/ Compiler will be installed in /home/xxxx/0day Please update: libc6 ldd /home/xxxx/0day/gcc-12.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc /home/xxxx/0day/gcc-12.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/xxxx/0day/gcc-12.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc) /home/xxxx/0day/gcc-12.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/xxxx/0day/gcc-12.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc) setup_crosstool failed > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > mm/damon/sysfs-schemes.c: In function 'damon_sysfs_memcg_path_eq': > >> mm/damon/sysfs-schemes.c:1409:26: error: invalid use of undefined type 'struct mem_cgroup' > 1409 | cgroup_path(memcg->css.cgroup, memcg_path_buf, PATH_MAX); > | ^~ Nevertheless, seems the issue was due to missed inclusion of memcontrol.h, which defines the 'struct mem_cgroup'. Fixed and pushed[1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git/commit/?h=damon/next&id=7eaaa606788b0766ece3c105fdcf963aba8511ef Thanks, SJ [...]