From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 808CB33D5 for ; Wed, 20 Jul 2022 16:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658335029; x=1689871029; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OIDH+HrZlHRBE1ZuSvOPWqWqsoLOZVIP03udR607o7E=; b=b0MyFwfi3N4M6giKMHDibvLJDZhV5Z5xmZsqtSLdX3/h3hyreDvvsrAn afqzUKXu3TGa6eeJmZuzS+XyzbwBs++yV0hHmcnN20B6i3fYqgqK9F+bt T8YMwzQ0RbJLIq1Qd02CLDgmcTncESFUN+lPFBfccuRm6UhWzh+Q7Cz0o V8Nq20D7nyoRDwwkHJVpZ1Pd5dxcBTRbj/eSvz8hwTlelJl3vGItmPfv7 hpiWn167GcdxjDdYFmAwU46hkSnkTbGUeHgYfGeOIMO4HsLO4JqZKNA1B H1gGIV11TYfJw5wn894DnOFFBuRy9L/Jkx4PWvmMraK2KJ+oMMMh843p5 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10414"; a="284384217" X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="284384217" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 09:36:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="665929373" Received: from lkp-server01.sh.intel.com (HELO 7dfbdc7c7900) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 20 Jul 2022 09:36:54 -0700 Received: from kbuild by 7dfbdc7c7900 with local (Exim 4.95) (envelope-from ) id 1oECgv-0000iP-Sz; Wed, 20 Jul 2022 16:36:53 +0000 Date: Thu, 21 Jul 2022 00:36:28 +0800 From: kernel test robot To: Can Guo , bvanassche@acm.org, stanley.chu@mediatek.com, adrian.hunter@intel.com, alim.akhtar@samsung.com, avri.altman@wdc.com, beanhuo@micron.com, quic_asutoshd@quicinc.com, quic_nguyenb@quicinc.com, quic_ziqichen@quicinc.com, linux-scsi@vger.kernel.org, kernel-team@android.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, "James E.J. Bottomley" , "Martin K. Petersen" , Daejun Park , Jinyoung Choi , Kiwoong Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] scsi: ufs: Add Multi-Circular Queue support Message-ID: <202207210049.FUSfJIAA-lkp@intel.com> References: <1658214120-22772-2-git-send-email-quic_cang@quicinc.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: <1658214120-22772-2-git-send-email-quic_cang@quicinc.com> Hi Can, I love your patch! Yet something to improve: [auto build test ERROR on jejb-scsi/for-next] [also build test ERROR on mkp-scsi/for-next next-20220720] [cannot apply to linus/master v5.19-rc7] [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/Can-Guo/UFS-Multi-Circular-Queue-MCQ/20220719-150436 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-randconfig-a005-20220718 (https://download.01.org/0day-ci/archive/20220721/202207210049.FUSfJIAA-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dd5635541cd7bbd62cd59b6694dfb759b6e9a0d8) 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/intel-lab-lkp/linux/commit/2b7356bcd24efd2d6b69f04dd9fd010c4256cc7e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Can-Guo/UFS-Multi-Circular-Queue-MCQ/20220719-150436 git checkout 2b7356bcd24efd2d6b69f04dd9fd010c4256cc7e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/ufs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/ufs/core/ufs-mcq.c:275:4: error: call to undeclared function 'devm_iounmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] devm_iounmap(hba->dev, res->base); ^ 1 error generated. vim +/devm_iounmap +275 drivers/ufs/core/ufs-mcq.c 265 266 static void ufshcd_mcq_release_resource(struct ufs_hba *hba) 267 { 268 struct ufshcd_res_info_t *res; 269 int i; 270 271 for (i = RES_MCQ; i < RES_MAX; i++) { 272 res = &hba->res[i]; 273 274 if(res->base) { > 275 devm_iounmap(hba->dev, res->base); 276 res->base = NULL; 277 } 278 279 if (res->is_alloc) 280 devm_kfree(hba->dev, res->resource); 281 } 282 } 283 -- 0-DAY CI Kernel Test Service https://01.org/lkp