Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp734688rdb; Tue, 5 Dec 2023 20:13:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE7YRFAuUn9MQbb2tZF69N2BPgoHtjnoKYGc1AHX7KhUDmRR2pEvUp9Bn6Ya0hC+ZG2esrC X-Received: by 2002:a17:902:820c:b0:1cf:b12a:a9eb with SMTP id x12-20020a170902820c00b001cfb12aa9ebmr250708pln.19.1701836029008; Tue, 05 Dec 2023 20:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701836028; cv=none; d=google.com; s=arc-20160816; b=jWk9dCNgMC6if4O7WlxTo1mj+WorIQuikDSlCjYwIMBt+VZpWGDyTuzUmoARQOp6oT OYqnyEZhYUpfVYXchosaXfLjhcxrdwKXkmMwJ2jTl7yghMgv7auv9tq9bGaw21nne9/V wIpu6AKP77fWwrorKqw32SOLoP44Tts2mzGoRUw1chPWejYwohNmcFjrDeCzpS+MbPnT jr09D+Ib97EYZqhfS+Ui8HFaN25/j6A/GbXDY8GRXtWSlTI628tNZXFJiR/KdIjMB3d4 m9LIIqekGBC5EoEgQPYzblIGs9054kC6nJCDs1jwmKfwlqyALxRnixSLWmfE6+2OYKHG q3Vg== 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=lBxI3Xu1EKVMScajyqV4yqa1VhsbrlqiyxUp6CJBSAg=; fh=uE4G9NMLFlWchv8r9OJAtkHhAEQpAsxynMVVunjGNzM=; b=okF+QTTdtSLdCqkCMgmHCgFIL9dM5THtUp2oCrAVEi4T/ZskmkMuo4VvZSnwErBddE zf9OmKxxbKZeFa7cM489lCRt/E7tP4lZX6LA2i3Cz1H0TYEvEeejD/Uxo+31aIKNh+gQ SE3BTyzx8Om38t4a8EYMc2xokCou0MzwmLLwya4XqWgilXzZu5PH5n2BFCRUelsDNnWr MGY34b9FH1zpNjiLtvoY6PO0ajnpkN5vXBRWpig8VDJT2FtaO5gJCLhTwjuZ245VVf+f uARimcLG4BMmnSjP2lWnTCDSixberfDGD8JHMSdNF5hWbVvdnEmGAFCzMNvy+c/Bb4J+ StjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OtDhpX9B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id jf19-20020a170903269300b001d0626761c5si7661898plb.217.2023.12.05.20.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 20:13:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OtDhpX9B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 CC55380B232D; Tue, 5 Dec 2023 20:13:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjLFENf (ORCPT + 99 others); Tue, 5 Dec 2023 23:13:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjLFENd (ORCPT ); Tue, 5 Dec 2023 23:13:33 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33AEC1B9 for ; Tue, 5 Dec 2023 20:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701836019; x=1733372019; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8r8SvioYkh0V9fg5ZDhsYOmVK4Xbo+lcyPeyGgNsAzU=; b=OtDhpX9BE1PUpF6ErRdLmPWahTPt7bIYvRn3uP7oYEpSCLA9uGKLZKOd +GlD9xGGUjxVcFXUgfXMKQDMiczyJNIcqKXP/8SxjPH53vFf9DhhzFc2P /geWpArqvS7XI23kGg3aZDDLSS2e88wzUU+VNNqoDDD+QiKjG03BOy8P+ mejixP1wSsdyCD/xMmWtTRrvZPUyoFBh8ABHEmNI1/GA4an5WkU4JzhAn gYqsix55Z0XzegybuiA8RwylcbvDqBUK8pgcuKzexS9l4k0XzNhHayC8C 2fQFsqL4lqCVjUtd+dZQncd+4hhwsFBHQYteK38QdNxDkBNY3qYV0uK+J w==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="458325935" X-IronPort-AV: E=Sophos;i="6.04,254,1695711600"; d="scan'208";a="458325935" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 20:13:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="894599845" X-IronPort-AV: E=Sophos;i="6.04,254,1695711600"; d="scan'208";a="894599845" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 05 Dec 2023 20:13:34 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAjHw-000AEk-1n; Wed, 06 Dec 2023 04:13:32 +0000 Date: Wed, 6 Dec 2023 12:13:13 +0800 From: kernel test robot To: Yajun Deng , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Yajun Deng Subject: Re: [PATCH 2/2] sched/rt: Return NULL when rt entity isn't a task in rt_task_of() Message-ID: <202312061220.T02aFFcy-lkp@intel.com> References: <20231201022704.3526377-3-yajun.deng@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201022704.3526377-3-yajun.deng@linux.dev> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 20:13:48 -0800 (PST) Hi Yajun, kernel test robot noticed the following build errors: [auto build test ERROR on tip/sched/core] [also build test ERROR on next-20231205] [cannot apply to linus/master v6.7-rc4] [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/Yajun-Deng/sched-fair-Return-NULL-when-entity-isn-t-a-task-in-task_of/20231201-103036 base: tip/sched/core patch link: https://lore.kernel.org/r/20231201022704.3526377-3-yajun.deng%40linux.dev patch subject: [PATCH 2/2] sched/rt: Return NULL when rt entity isn't a task in rt_task_of() config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20231206/202312061220.T02aFFcy-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312061220.T02aFFcy-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/202312061220.T02aFFcy-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/sched/build_policy.c:45: kernel/sched/rt.c: In function 'rt_se_prio': >> kernel/sched/rt.c:947:29: error: 'struct rt_rq' has no member named 'highest_prio' 947 | return rt_rq->highest_prio.curr; | ^~ vim +947 kernel/sched/rt.c ac086bc22997a2 kernel/sched_rt.c Peter Zijlstra 2008-04-19 941 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 942 static inline int rt_se_prio(struct sched_rt_entity *rt_se) 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 943 { 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 944 struct rt_rq *rt_rq = group_rt_rq(rt_se); 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 945 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 946 if (rt_rq) e864c499d9e578 kernel/sched_rt.c Gregory Haskins 2008-12-29 @947 return rt_rq->highest_prio.curr; 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 948 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 949 return rt_task_of(rt_se)->prio; 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 950 } 6f505b16425a51 kernel/sched_rt.c Peter Zijlstra 2008-01-25 951 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki