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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7C28CD13DD for ; Sat, 31 Aug 2024 17:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Rr2HwjSfMamdtswLaPlT/9RRpaXV5CLUsCucJOPFjwk=; b=zLEiesaT67DnodOPkEGHbij86q Fe9us3l6n/fmm5V4e2hKoIXGWU5di84s8YtOZmdPiojUWtnkz21Ij4kJod573ETuRVNDi1OPpHLYU E1d7Mv4KuMpRCbCGzVjwiorUWdu2c09XXF+bxY7qG5+NcSc6x6eT9610ntmLR5YhQNpTllwav5j7J BhLD1sBxXVW0r/bz4+7yHEuOU/0kCsZgL2k/dbdBG4H+uyOuY8m9hi9UuvGDIiXhEIuHEylKprtFM 2b9VY+ficTD5in0W/s1sFQbXHk+gQjgE1fAr52zg9OOxHfQuEq/Nlk1r5EdrDkcPbGf7NBuRa+IDU UJIRg1uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skRWT-00000009iqz-41Yb; Sat, 31 Aug 2024 17:04:25 +0000 Received: from mgamail.intel.com ([192.198.163.9]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skRWQ-00000009iqP-2qfB for linux-mediatek@lists.infradead.org; Sat, 31 Aug 2024 17:04:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725123862; x=1756659862; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Z2iU+6iIeLl81YPYU9R32z056dUcEIKREbZfkSIl/+4=; b=QylwdGzrT1z7SFXJiNYaC62PWyls4AEj41B3DS6Fos69eEGSKKZgIRvk TncOGaI57eN1VYj9scUJPUDV2PX4KVG+um391C0VhRR9ByfHiiL2Zx01S oOyk5L6tu+pUgL6mHuiejwsD5zF6tm4nOXcAuW369hY0IiZ3ylyVEauAs 9f6yr0ui6M1e1ncDa4BhfcjIb1Xw+R8hPfs4fDKGX3OcHU2CZ6o029Tbt 4BO/LicK905ljkRiKc2Mr+TM3MBtaJw8OIEz5z22Zfg20lexHZDdlaNVR k2DtZhqgQol0xbsJGJw8rGkpkxSO+qV/vFa34OmXwPp/Z0siJu68NRvLJ w==; X-CSE-ConnectionGUID: QdE3M7E4T0aVKmL94nLDEQ== X-CSE-MsgGUID: BjBRfjDZTeuYe8Mh6PVVxA== X-IronPort-AV: E=McAfee;i="6700,10204,11181"; a="34417913" X-IronPort-AV: E=Sophos;i="6.10,192,1719903600"; d="scan'208";a="34417913" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2024 10:04:19 -0700 X-CSE-ConnectionGUID: WrdMWQSZR8GSmtRM/bwj9A== X-CSE-MsgGUID: YIfU7kXcSYiauu9dYqQMfw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,192,1719903600"; d="scan'208";a="94903747" Received: from lkp-server01.sh.intel.com (HELO 9c6b1c7d3b50) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 31 Aug 2024 10:04:14 -0700 Received: from kbuild by 9c6b1c7d3b50 with local (Exim 4.96) (envelope-from ) id 1skRWF-0002x4-19; Sat, 31 Aug 2024 17:04:11 +0000 Date: Sun, 1 Sep 2024 01:04:07 +0800 From: kernel test robot To: peter.wang@mediatek.com, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, avri.altman@wdc.com, alim.akhtar@samsung.com, jejb@linux.ibm.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, wsd_upstream@mediatek.com, linux-mediatek@lists.infradead.org, peter.wang@mediatek.com, chun-hung.wu@mediatek.com, alice.chao@mediatek.com, cc.chou@mediatek.com, chaotian.jing@mediatek.com, jiajie.hao@mediatek.com, powen.kao@mediatek.com, qilin.tan@mediatek.com, lin.gui@mediatek.com, tun-yu.yu@mediatek.com, eddie.huang@mediatek.com, naomi.chu@mediatek.com, ed.tsai@mediatek.com, bvanassche@acm.org, stable@vger.kernel.org Subject: Re: [PATCH v1 2/2] ufs: core: requeue MCQ abort request Message-ID: <202409010054.kNsXraZk-lkp@intel.com> References: <20240830074426.21968-3-peter.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240830074426.21968-3-peter.wang@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240831_100422_783674_89D39759 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi, kernel test robot noticed the following build errors: [auto build test ERROR on jejb-scsi/for-next] [also build test ERROR on mkp-scsi/for-next linus/master v6.11-rc5 next-20240830] [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/peter-wang-mediatek-com/ufs-core-fix-the-issue-of-ICU-failure/20240830-154808 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next patch link: https://lore.kernel.org/r/20240830074426.21968-3-peter.wang%40mediatek.com patch subject: [PATCH v1 2/2] ufs: core: requeue MCQ abort request config: arm-randconfig-002-20240831 (https://download.01.org/0day-ci/archive/20240901/202409010054.kNsXraZk-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240901/202409010054.kNsXraZk-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/202409010054.kNsXraZk-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/ufs/core/ufshcd.c:6505:6: error: call to undeclared function 'is_mcq_enabled'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (is_mcq_enabled(hba) && (*ret == 0)) ^ 1 error generated. vim +/is_mcq_enabled +6505 drivers/ufs/core/ufshcd.c 6488 6489 static bool ufshcd_abort_one(struct request *rq, void *priv) 6490 { 6491 int *ret = priv; 6492 u32 tag = rq->tag; 6493 struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq); 6494 struct scsi_device *sdev = cmd->device; 6495 struct Scsi_Host *shost = sdev->host; 6496 struct ufs_hba *hba = shost_priv(shost); 6497 struct ufshcd_lrb *lrbp = &hba->lrb[tag]; 6498 6499 *ret = ufshcd_try_to_abort_task(hba, tag); 6500 dev_err(hba->dev, "Aborting tag %d / CDB %#02x %s\n", tag, 6501 hba->lrb[tag].cmd ? hba->lrb[tag].cmd->cmnd[0] : -1, 6502 *ret ? "failed" : "succeeded"); 6503 6504 /* Host will post to CQ with OCS_ABORTED after SQ clean up */ > 6505 if (is_mcq_enabled(hba) && (*ret == 0)) 6506 lrbp->host_initiate_abort = true; 6507 6508 return *ret == 0; 6509 } 6510 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki