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 AF576C7EE30 for ; Tue, 28 Feb 2023 07:35:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbjB1Hfb (ORCPT ); Tue, 28 Feb 2023 02:35:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjB1Hf0 (ORCPT ); Tue, 28 Feb 2023 02:35:26 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 432851A957; Mon, 27 Feb 2023 23:35:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677569725; x=1709105725; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LvRkP9ayx/TcWGomiuPZsgmYwGikBgVCxlEYYklYqpw=; b=DIU0MBQ47rWKQNq6PozeEc8rn/Kuh6SE1Ri856htyaRblfhuW7VYokyL CiN1JdShsQvaJH5+Fw6TR2Ow76wLDDcFvnkAe6gupOMHAstzJLWmh1IgQ itLz3pf4+2LhBWlXJkFbdjsEPj+znVEK6X3UkYDzVIHOLxWl/yRxSQzl9 cGOwTnw0hUW87JNyKVqe0KcMfdEKRCb+Pyb9ABsTre4IxEev0S6ikRb7X 6OHTjMY+IPlGx//FdvjA2gWUSZV2N7n47JsQEuKQCqqg05JakS7j1G7NC cEzWleEOjyCgQ47/M8sC0VOekDPREVux97Vm98SxFCyzCSSg/qePqbDTC Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="332796132" X-IronPort-AV: E=Sophos;i="5.98,221,1673942400"; d="scan'208";a="332796132" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 23:35:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10634"; a="848155547" X-IronPort-AV: E=Sophos;i="5.98,221,1673942400"; d="scan'208";a="848155547" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Feb 2023 23:35:22 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pWuW9-0005Bp-2h; Tue, 28 Feb 2023 07:35:21 +0000 Date: Tue, 28 Feb 2023 15:34:35 +0800 From: kernel test robot To: lingfuyi , jhs@mojatatu.com, davem@davemloft.net Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lingfuyi , k2ci Subject: Re: [PATCH] sched: delete some api is not used Message-ID: <202302281526.331aCypp-lkp@intel.com> References: <20230228031241.1675263-1-lingfuyi@126.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230228031241.1675263-1-lingfuyi@126.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi lingfuyi, Thank you for the patch! Yet something to improve: [auto build test ERROR on horms-ipvs/master] [also build test ERROR on linus/master next-20230228] [cannot apply to v6.2] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/lingfuyi/sched-delete-some-api-is-not-used/20230228-124804 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master patch link: https://lore.kernel.org/r/20230228031241.1675263-1-lingfuyi%40126.com patch subject: [PATCH] sched: delete some api is not used config: i386-randconfig-a013-20230227 (https://download.01.org/0day-ci/archive/20230228/202302281526.331aCypp-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/6d9fd0340845396f9866b8a8c53ad65066de39ac git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review lingfuyi/sched-delete-some-api-is-not-used/20230228-124804 git checkout 6d9fd0340845396f9866b8a8c53ad65066de39ac # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302281526.331aCypp-lkp@intel.com/ All errors (new ones prefixed by >>): net/sched/cls_api.c: In function 'tcf_exts_destroy': >> net/sched/cls_api.c:3242:9: error: implicit declaration of function 'tcf_exts_miss_cookie_base_destroy'; did you mean 'tcf_exts_miss_cookie_base_alloc'? [-Werror=implicit-function-declaration] 3242 | tcf_exts_miss_cookie_base_destroy(exts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | tcf_exts_miss_cookie_base_alloc cc1: some warnings being treated as errors vim +3242 net/sched/cls_api.c 80cd22c35c9001 Paul Blakey 2023-02-18 3238 18d0264f630e20 WANG Cong 2014-09-25 3239 void tcf_exts_destroy(struct tcf_exts *exts) ^1da177e4c3f41 Linus Torvalds 2005-04-16 3240 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 3241 #ifdef CONFIG_NET_CLS_ACT 80cd22c35c9001 Paul Blakey 2023-02-18 @3242 tcf_exts_miss_cookie_base_destroy(exts); 80cd22c35c9001 Paul Blakey 2023-02-18 3243 3d66b89c30f922 Eric Dumazet 2019-09-18 3244 if (exts->actions) { 90b73b77d08ec3 Vlad Buslov 2018-07-05 3245 tcf_action_destroy(exts->actions, TCA_ACT_UNBIND); 22dc13c837c332 WANG Cong 2016-08-13 3246 kfree(exts->actions); 3d66b89c30f922 Eric Dumazet 2019-09-18 3247 } 22dc13c837c332 WANG Cong 2016-08-13 3248 exts->nr_actions = 0; ^1da177e4c3f41 Linus Torvalds 2005-04-16 3249 #endif ^1da177e4c3f41 Linus Torvalds 2005-04-16 3250 } aa767bfea48289 Stephen Hemminger 2008-01-21 3251 EXPORT_SYMBOL(tcf_exts_destroy); ^1da177e4c3f41 Linus Torvalds 2005-04-16 3252 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests