From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 400444E60E; Thu, 7 Dec 2023 19:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="C4ECxeh4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701977449; x=1733513449; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dQJzpPCJi2DcWLmi+tpSUDnGySOo5HoMcMdxmPpeqDs=; b=C4ECxeh40vXZ5roxy2D9fLgxq06aihaOSzQYAPm+tSnUCOSFRhAOrgIw FhkI85fwvcSU5gd1D+736HLCnRVDs2Mfb8COmfrJ/mtJO94m8syCoqVNo fWRwIaZ+mtWBPgFQ/ANI1b+efK8BsK6EcrVMDwuJDGyFQyhzdNTZ59efK 5DtksA0vR38p/uuCxwbU0Cs7wTCIrikJ+8LPmCK6r0OqKvSknCkGYjR37 QRQO4+XyP73Hlp2HNiBnJDnIMqM5MMGNe4gZ54Hmle10r/CWINPKubwqt kYE3g1pUXKjlFMWujfFhNwMltJ8lnCaB7MjdPpM4z9a+HCn9YlWJNs8mL w==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="373791327" X-IronPort-AV: E=Sophos;i="6.04,258,1695711600"; d="scan'208";a="373791327" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 11:30:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,258,1695711600"; d="scan'208";a="13216355" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orviesa002.jf.intel.com with ESMTP; 07 Dec 2023 11:30:45 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rBK54-000Cjl-2R; Thu, 07 Dec 2023 19:30:42 +0000 Date: Fri, 8 Dec 2023 03:30:04 +0800 From: kernel test robot To: Xiaolei Wang , rafael@kernel.org, pavel@ucw.cz, len.brown@intel.com, peterz@infradead.org, mingo@kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] freezer,sched: Move state information judgment outside task_call_func Message-ID: <202312080347.yJvIjGb3-lkp@intel.com> References: <20231207111634.667057-1-xiaolei.wang@windriver.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231207111634.667057-1-xiaolei.wang@windriver.com> Hi Xiaolei, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.7-rc4 next-20231207] [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/Xiaolei-Wang/freezer-sched-Move-state-information-judgment-outside-task_call_func/20231207-191924 base: linus/master patch link: https://lore.kernel.org/r/20231207111634.667057-1-xiaolei.wang%40windriver.com patch subject: [PATCH] freezer,sched: Move state information judgment outside task_call_func config: arm-defconfig (https://download.01.org/0day-ci/archive/20231208/202312080347.yJvIjGb3-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231208/202312080347.yJvIjGb3-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/202312080347.yJvIjGb3-lkp@intel.com/ All errors (new ones prefixed by >>): >> kernel/freezer.c:125:30: error: no member named 'lockdep_depth' in 'struct task_struct' p_check->lockdep_depth = p->lockdep_depth; ~ ^ 1 error generated. vim +125 kernel/freezer.c 107 108 static int __set_task_frozen(struct task_struct *p, void *arg) 109 { 110 unsigned int state = READ_ONCE(p->__state); 111 struct task_freeze_check *p_check = arg; 112 113 if (p->on_rq) 114 return 0; 115 116 if (p != current && task_curr(p)) 117 return 0; 118 119 if (!(state & (TASK_FREEZABLE | __TASK_STOPPED | __TASK_TRACED))) 120 return 0; 121 122 p->saved_state = p->__state; 123 WRITE_ONCE(p->__state, TASK_FROZEN); 124 p_check->state = p->__state; > 125 p_check->lockdep_depth = p->lockdep_depth; 126 return TASK_FROZEN; 127 } 128 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki