From mboxrd@z Thu Jan 1 00:00:00 1970 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78176C433FE for ; Thu, 17 Feb 2022 19:47:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E33A86B0099; Thu, 17 Feb 2022 14:47:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DE40F6B009A; Thu, 17 Feb 2022 14:47:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CAC836B009B; Thu, 17 Feb 2022 14:47:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0021.hostedemail.com [216.40.44.21]) by kanga.kvack.org (Postfix) with ESMTP id BC0FC6B0099 for ; Thu, 17 Feb 2022 14:47:14 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id A9B54972FB for ; Thu, 17 Feb 2022 19:47:12 +0000 (UTC) X-FDA: 79153305504.26.C6BDCDE Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by imf23.hostedemail.com (Postfix) with ESMTP id C038B140007 for ; Thu, 17 Feb 2022 19:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645127231; x=1676663231; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=F3ghFFmf9Z70ke5xUFrYTznu4LR/z5ek87I9Llnq9wE=; b=UQpZbbd54K0yuggo7dU+E9gkBCaSsQWs3nRGe0sx1ZyMRO0hkc7+hekv NdXOUonzXRXGGx3c5+2QCqb7h+f8FwyM/d4RuuOzPRha9oMymeAEFzKcV 4SGAsxht6iVhXg37t31xGJzjJ3IbXjO+0065aVFpD3UCwaxZtbKfCNkt7 FiqmrTW7cWHOiu55lKS3S17zkFZV7CTT2k0NblkTH6E3Cr+3UzgQuqfkw J3Xrg+gtgqKpy8avqid1uZl0yqfHMl2GCpoyvnC/MrWtAgQdTyYkg0PtF 0z+FPEQKon2hF/zWKvROS+p3E0inbLf+y6n0CQXNFwPXWEmtrQIFKSAyu g==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="248554975" X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="248554975" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 11:47:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="637327206" Received: from lkp-server01.sh.intel.com (HELO 6f05bf9e3301) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 17 Feb 2022 11:47:02 -0800 Received: from kbuild by 6f05bf9e3301 with local (Exim 4.92) (envelope-from ) id 1nKmk1-0000UI-9C; Thu, 17 Feb 2022 19:47:01 +0000 Date: Fri, 18 Feb 2022 03:46:28 +0800 From: kernel test robot To: Byungchul Park , torvalds@linux-foundation.org Cc: kbuild-all@lists.01.org, damien.lemoal@opensource.wdc.com, linux-ide@vger.kernel.org, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, peterz@infradead.org, will@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, joel@joelfernandes.org, sashal@kernel.org, daniel.vetter@ffwll.ch, chris@chris-wilson.co.uk, duyuyang@gmail.com, johannes.berg@intel.com, tj@kernel.org, tytso@mit.edu, willy@infradead.org, david@fromorbit.com, amir73il@gmail.com, bfields@fieldses.org, gregkh@linuxfoundation.org, kernel-team@lge.com, linux-mm@kvack.org, akpm@linux-foundation.org, mhocko@kernel.org, minchan@kernel.org, hannes@cmpxchg.org Subject: Re: [PATCH 02/16] dept: Implement Dept(Dependency Tracker) Message-ID: <202202180059.SibYSAt1-lkp@intel.com> References: <1645095472-26530-3-git-send-email-byungchul.park@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1645095472-26530-3-git-send-email-byungchul.park@lge.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: C038B140007 X-Stat-Signature: 5tkxcbzaawzcr48uc8nbubkniaxw8ds5 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UQpZbbd5; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf23.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.93) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1645127231-771110 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Byungchul, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on hnaz-mm/master linux/master linus/master v5.17-rc4] [cannot apply to tip/locking/core next-20220217] [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] url: https://github.com/0day-ci/linux/commits/Byungchul-Park/DEPT-Dependency-Tracker/20220217-190040 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 3624ba7b5e2acc02b01301ea5fd3534971eb9896 config: xtensa-allyesconfig (https://download.01.org/0day-ci/archive/20220218/202202180059.SibYSAt1-lkp@intel.com/config) compiler: xtensa-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/4d0434b0b917f4374a09f3b75cbcadf148cfa711 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Byungchul-Park/DEPT-Dependency-Tracker/20220217-190040 git checkout 4d0434b0b917f4374a09f3b75cbcadf148cfa711 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/net/ethernet/sfc/falcon/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/delay.h:23, from drivers/net/ethernet/sfc/falcon/falcon.c:9: drivers/net/ethernet/sfc/falcon/falcon.c: In function 'falcon_spi_slow_wait': >> drivers/net/ethernet/sfc/falcon/falcon.c:750:58: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context] 750 | TASK_UNINTERRUPTIBLE : TASK_INTERRUPTIBLE); include/linux/sched.h:205:21: note: in definition of macro '__set_current_state' 205 | if (state_value == TASK_RUNNING) \ | ^~~~~~~~~~~ vim +750 drivers/net/ethernet/sfc/falcon/falcon.c 4a5b504d0c582db drivers/net/sfc/falcon.c Ben Hutchings 2008-09-01 738 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 739 static int 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 740 falcon_spi_slow_wait(struct falcon_mtd_partition *part, bool uninterruptible) 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 741 { 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 742 const struct falcon_spi_device *spi = part->spi; 5a6681e22c14090 drivers/net/ethernet/sfc/falcon/falcon.c Edward Cree 2016-11-28 743 struct ef4_nic *efx = part->common.mtd.priv; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 744 u8 status; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 745 int rc, i; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 746 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 747 /* Wait up to 4s for flash/EEPROM to finish a slow operation. */ 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 748 for (i = 0; i < 40; i++) { 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 749 __set_current_state(uninterruptible ? 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 @750 TASK_UNINTERRUPTIBLE : TASK_INTERRUPTIBLE); 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 751 schedule_timeout(HZ / 10); 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 752 rc = falcon_spi_cmd(efx, spi, SPI_RDSR, -1, NULL, 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 753 &status, sizeof(status)); 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 754 if (rc) 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 755 return rc; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 756 if (!(status & SPI_STATUS_NRDY)) 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 757 return 0; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 758 if (signal_pending(current)) 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 759 return -EINTR; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 760 } 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 761 pr_err("%s: timed out waiting for %s\n", 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 762 part->common.name, part->common.dev_type_name); 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 763 return -ETIMEDOUT; 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 764 } 45a3fd55acc8989 drivers/net/ethernet/sfc/falcon.c Ben Hutchings 2012-11-28 765 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org