Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4148093rdb; Thu, 14 Sep 2023 13:17:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6FrLUUDgQNIidmWxV/+oq6KCmakHO8WcKjR233VSlkz3B2bEuL6qM8rjcsWrLt8v5dYna X-Received: by 2002:a17:903:244c:b0:1c3:a396:25ae with SMTP id l12-20020a170903244c00b001c3a39625aemr8178327pls.56.1694722676766; Thu, 14 Sep 2023 13:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694722676; cv=none; d=google.com; s=arc-20160816; b=HtuobkP1wV2zbv8geyM7TO9TzVzVV9QQP5kYBgBWZ0q9uR+wpnCiCWFzdRnbov5Ko4 TzwV3+1uX0o0iHqs1gsUYqWh/3R00d2eXdxK0uW14pc41IG0s0JhXd6F45AGAYDeotPe nQivzh16XI2lpnZtG4lTRAel9Rq638a+kPAyUZlVBCddO5B6UctQfswNOVIPhrdPE36Q NjqjR+4/I547tY952DmxUI0T+QBxymL7KHG4pgYRy/7XXViy6iVuuPpcz+rUUr8sHE7l YaekKuH8Q90QKKr4pZ2qAJVeXaQtsnOAYowx2E6L2FeV/SDS1MoFUj31crfahgBjvt8O MbGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HLpu1+yuNKitg7BfUHcaAFaWBjVLmJoBEy6iqFWaflA=; fh=r8rRPnaFtTxjGcfPg4sXLEIBkGLsL3n6IDP95BL5zN4=; b=phnyF5FC8vBBwZA6EPDDcefri8rr+GVaymcurFSTR+Gqr8KGbunu4ZTXWmJ4scy4BF t95hpw6z/CIAUwCDzfCNFdrmxfk2JKYstnYlg9WhcrEM/mq6O0QwG+60yicaJEQbuYQf dWstzu5+YDSIsGUc+5UeYzPEL4kOm6O7u+D7AYeGL6gprnjrtqBEQLf9GHEWjU6ek8N5 jNoOyYI2WYEvQ0vwvf1QCgzNIw5Q8H1yRmWgcJID/Zrv9gLfNcBx/cVAb9c00zehu2pM RVEt+vjdr68a1lJCxTv87h1ivbDzTCDYg2BFk2YXAGt2Xr/BbLmRRwOg1WV7hJuzUz9H rOnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y+orIYEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f18-20020a170902ce9200b001bbd0358ef7si2303562plg.518.2023.09.14.13.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 13:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Y+orIYEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 60833801D4B8; Wed, 13 Sep 2023 00:27:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238575AbjIMH1i (ORCPT + 99 others); Wed, 13 Sep 2023 03:27:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237103AbjIMH1h (ORCPT ); Wed, 13 Sep 2023 03:27:37 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4837C1727; Wed, 13 Sep 2023 00:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694590053; x=1726126053; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xdNcP7YzTuO/KtXmc0b2clcxVqK94aaCrneS0dMIvoo=; b=Y+orIYEOKl68ADSyNOoH/H4417m9InkXST+aD0QCJTiJJJc+rCFMxUDP Mz6RW+klKH2UCWPpQBYDIbtwppJ+YiXi90apOxzqONq7s9W1NhuGnA/K6 GdTZTYav4aOmmEjug8fWX2PzbDMcd97zKxrWAZStO2MEQXRscKRKPdbG5 WRmiCXKsaaDSZEw7DHdiUglNAO10JMYNNAop4+BLMPYXd1pBYC/3zA73c ef/dQH4JHkIKZHgWM0MRsF1NpvEjvx9ejU21Da/d6deuqp3Bj4dK7rIEg EmRdO6XbSxAzBEh/HjkRuTqD5vc9OQD6WXaBv9LggEohpc8hoteAXenYf A==; X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="358862273" X-IronPort-AV: E=Sophos;i="6.02,142,1688454000"; d="scan'208";a="358862273" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 00:27:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10831"; a="773349016" X-IronPort-AV: E=Sophos;i="6.02,142,1688454000"; d="scan'208";a="773349016" Received: from lkp-server02.sh.intel.com (HELO cf13c67269a2) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 13 Sep 2023 00:27:15 -0700 Received: from kbuild by cf13c67269a2 with local (Exim 4.96) (envelope-from ) id 1qgKGS-0000CX-1Q; Wed, 13 Sep 2023 07:26:30 +0000 Date: Wed, 13 Sep 2023 15:25:02 +0800 From: kernel test robot To: Chuyi Zhou , bpf@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@kernel.org, tj@kernel.org, linux-kernel@vger.kernel.org, Chuyi Zhou Subject: Re: [PATCH bpf-next v2 4/6] bpf: Introduce css_descendant open-coded iterator kfuncs Message-ID: <202309131500.J19z0Dil-lkp@intel.com> References: <20230912070149.969939-5-zhouchuyi@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912070149.969939-5-zhouchuyi@bytedance.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 00:27:36 -0700 (PDT) Hi Chuyi, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Chuyi-Zhou/cgroup-Prepare-for-using-css_task_iter_-in-BPF/20230912-150454 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20230912070149.969939-5-zhouchuyi%40bytedance.com patch subject: [PATCH bpf-next v2 4/6] bpf: Introduce css_descendant open-coded iterator kfuncs config: s390-defconfig (https://download.01.org/0day-ci/archive/20230913/202309131500.J19z0Dil-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309131500.J19z0Dil-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309131500.J19z0Dil-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/bpf/task_iter.c:810:17: warning: no previous prototype for 'bpf_iter_css_task_new' [-Wmissing-prototypes] 810 | __bpf_kfunc int bpf_iter_css_task_new(struct bpf_iter_css_task *it, | ^~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:835:33: warning: no previous prototype for 'bpf_iter_css_task_next' [-Wmissing-prototypes] 835 | __bpf_kfunc struct task_struct *bpf_iter_css_task_next(struct bpf_iter_css_task *it) | ^~~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:844:18: warning: no previous prototype for 'bpf_iter_css_task_destroy' [-Wmissing-prototypes] 844 | __bpf_kfunc void bpf_iter_css_task_destroy(struct bpf_iter_css_task *it) | ^~~~~~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:858:17: warning: no previous prototype for 'bpf_iter_process_new' [-Wmissing-prototypes] 858 | __bpf_kfunc int bpf_iter_process_new(struct bpf_iter_process *it) | ^~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:870:33: warning: no previous prototype for 'bpf_iter_process_next' [-Wmissing-prototypes] 870 | __bpf_kfunc struct task_struct *bpf_iter_process_next(struct bpf_iter_process *it) | ^~~~~~~~~~~~~~~~~~~~~ kernel/bpf/task_iter.c:879:18: warning: no previous prototype for 'bpf_iter_process_destroy' [-Wmissing-prototypes] 879 | __bpf_kfunc void bpf_iter_process_destroy(struct bpf_iter_process *it) | ^~~~~~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:888:17: warning: no previous prototype for 'bpf_iter_css_pre_new' [-Wmissing-prototypes] 888 | __bpf_kfunc int bpf_iter_css_pre_new(struct bpf_iter_css_pre *it, | ^~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:900:41: warning: no previous prototype for 'bpf_iter_css_pre_next' [-Wmissing-prototypes] 900 | __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_pre_next(struct bpf_iter_css_pre *it) | ^~~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:908:18: warning: no previous prototype for 'bpf_iter_css_pre_destroy' [-Wmissing-prototypes] 908 | __bpf_kfunc void bpf_iter_css_pre_destroy(struct bpf_iter_css_pre *it) | ^~~~~~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:912:17: warning: no previous prototype for 'bpf_iter_css_post_new' [-Wmissing-prototypes] 912 | __bpf_kfunc int bpf_iter_css_post_new(struct bpf_iter_css_post *it, | ^~~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:924:41: warning: no previous prototype for 'bpf_iter_css_post_next' [-Wmissing-prototypes] 924 | __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_post_next(struct bpf_iter_css_post *it) | ^~~~~~~~~~~~~~~~~~~~~~ >> kernel/bpf/task_iter.c:932:18: warning: no previous prototype for 'bpf_iter_css_post_destroy' [-Wmissing-prototypes] 932 | __bpf_kfunc void bpf_iter_css_post_destroy(struct bpf_iter_css_post *it) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/bpf_iter_css_pre_new +888 kernel/bpf/task_iter.c 887 > 888 __bpf_kfunc int bpf_iter_css_pre_new(struct bpf_iter_css_pre *it, 889 struct cgroup_subsys_state *root) 890 { 891 struct bpf_iter_css_kern *kit = (void *)it; 892 893 BUILD_BUG_ON(sizeof(struct bpf_iter_css_kern) != sizeof(struct bpf_iter_css_pre)); 894 BUILD_BUG_ON(__alignof__(struct bpf_iter_css_kern) != __alignof__(struct bpf_iter_css_pre)); 895 kit->root = root; 896 kit->pos = NULL; 897 return 0; 898 } 899 > 900 __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_pre_next(struct bpf_iter_css_pre *it) 901 { 902 struct bpf_iter_css_kern *kit = (void *)it; 903 904 kit->pos = css_next_descendant_pre(kit->pos, kit->root); 905 return kit->pos; 906 } 907 > 908 __bpf_kfunc void bpf_iter_css_pre_destroy(struct bpf_iter_css_pre *it) 909 { 910 } 911 > 912 __bpf_kfunc int bpf_iter_css_post_new(struct bpf_iter_css_post *it, 913 struct cgroup_subsys_state *root) 914 { 915 struct bpf_iter_css_kern *kit = (void *)it; 916 917 BUILD_BUG_ON(sizeof(struct bpf_iter_css_kern) != sizeof(struct bpf_iter_css_post)); 918 BUILD_BUG_ON(__alignof__(struct bpf_iter_css_kern) != __alignof__(struct bpf_iter_css_post)); 919 kit->root = root; 920 kit->pos = NULL; 921 return 0; 922 } 923 > 924 __bpf_kfunc struct cgroup_subsys_state *bpf_iter_css_post_next(struct bpf_iter_css_post *it) 925 { 926 struct bpf_iter_css_kern *kit = (void *)it; 927 928 kit->pos = css_next_descendant_post(kit->pos, kit->root); 929 return kit->pos; 930 } 931 > 932 __bpf_kfunc void bpf_iter_css_post_destroy(struct bpf_iter_css_post *it) 933 { 934 } 935 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki