Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5221730imw; Wed, 20 Jul 2022 01:09:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uzVQVXJMNz0e7/BLhe31ybMi3iRiKUKd4TB7tsF035YaJvXMo+OwDAGUtBU8HHqPKd861t X-Received: by 2002:a05:6402:5192:b0:43a:c589:4507 with SMTP id q18-20020a056402519200b0043ac5894507mr48414965edd.177.1658304572478; Wed, 20 Jul 2022 01:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658304572; cv=none; d=google.com; s=arc-20160816; b=Uv1tOCFH4ec9WSwX33MFi+GeFYDoQMgwo+N+K1dkIic4iHZmVoXWDTccqlV3FM16Hi JrzNaMhUEf4O45BssInHx+DBkZT2lMDYl4A/TCz83dCHNkEMVREAIOgtTFTKpdHgkpb0 LekXBbkV3Z1VhQ0UXjSP77riOyu44mh2tro9kvzQst1KRxicu+VN5AZy1cJnyT1oxbNk J5ca2IkYs1rxDv3uMzpt+qmBcbj/pYxV1QjmtqzpMaIy/jLVdqwDPSb7Z2CeIXVHeoZT cW+hsN/zJUB632jmXVghO+sOMlmaA5XeqgDwXrdK6YuvaeDGSLUr/SSto7l6cZ0t5Jmf iZAg== 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=3atxWSIfRRCuOpJFmEWPTCM0gp8sTB0vKk0exi0XxPU=; b=oOL+7au22M7YsGm5xTRh8/wFmoeUWNpQkZ8VRh/I6LvC+siajgArHzVZrGUo+OT7nt SKq2M4cruaZ2cSXHH8QxalNYJg/kSIr/O06PUuYb3KKh8frb1+wQLVREEWS1w1rDd2iM znl/d6v2/NxxIvfGaRbFQi5gbAPvVI0UQLY4zXfygIlo6RIg9kvdUjaos+SM1zqwbdVZ Sn3MEph8Az6Gtn7cqn0k+olNuUYQQTD5gomyW6HX80VPx9xgZ5wd3jG8l95ty7k+795R Awei4RdpkqNZQ5u9RwjFZ5UBoByY2Wuy/gAyX2c5NI6nvANsVNpnp8O/t14lFIz/w85n aVzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WaXSBcCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr11-20020a170907720b00b0072f3a7e584fsi10809117ejc.958.2022.07.20.01.09.07; Wed, 20 Jul 2022 01:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WaXSBcCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229830AbiGTH5Y (ORCPT + 99 others); Wed, 20 Jul 2022 03:57:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiGTH5X (ORCPT ); Wed, 20 Jul 2022 03:57:23 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97C8C61105; Wed, 20 Jul 2022 00:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658303842; x=1689839842; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qIthjsEZ85d8ocjhmCfrhK7Xx0+PQIkRHO1HHgSI8pw=; b=WaXSBcCibLYAOl146qbK87YJWk17yhmmeCPIEiVVUK5li6fihxWxapBU p1E8GspitZN67eG/AunFpcEMH4LMHC4zN9u2mfTLqi7x8zAndI/2zJhYS Fifxm0HSj07sBxJ6fxyKWoRlcWWvs8+8psDeyuD/EtTbbbP+ALBqLp4V9 0fBR6wCiK0ZMgH99R971Opd6mJFEeZmT//zlXnoiTAyW+q0/phgEN/7Q4 JSNLAhGJqUZDZuTlyzcboEWuv7CbzDPrpP2c/T51TkVcf1cPMosO8o6c9 SkKnFJgB5DeMJlb+y/TCk/Xm5y4CjBUYl/RawEuR/BMynvgq1QrK5YAka g==; X-IronPort-AV: E=McAfee;i="6400,9594,10413"; a="266484824" X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="266484824" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 00:57:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="597981890" Received: from lkp-server01.sh.intel.com (HELO 7dfbdc7c7900) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 20 Jul 2022 00:57:17 -0700 Received: from kbuild by 7dfbdc7c7900 with local (Exim 4.95) (envelope-from ) id 1oE4a5-0000F5-1P; Wed, 20 Jul 2022 07:57:17 +0000 Date: Wed, 20 Jul 2022 15:57:05 +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: <202207201538.0hGdcttT-lkp@intel.com> References: <1658214120-22772-2-git-send-email-quic_cang@quicinc.com> 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> X-Spam-Status: No, score=-5.1 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_PASS,SPF_NONE 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 Hi Can, I love your patch! Perhaps something to improve: [auto build test WARNING on jejb-scsi/for-next] [also build test WARNING on mkp-scsi/for-next next-20220719] [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: x86_64-randconfig-r036-20220718 (https://download.01.org/0day-ci/archive/20220720/202207201538.0hGdcttT-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=x86_64 SHELL=/bin/bash drivers/ufs/core/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/ufs/core/ufshcd.c:5465:13: warning: no previous prototype for function 'ufshcd_transfer_req_compl' [-Wmissing-prototypes] irqreturn_t ufshcd_transfer_req_compl(struct ufs_hba *hba) ^ drivers/ufs/core/ufshcd.c:5465:1: note: declare 'static' if the function is not intended to be used outside of this translation unit irqreturn_t ufshcd_transfer_req_compl(struct ufs_hba *hba) ^ static 1 warning generated. vim +/ufshcd_transfer_req_compl +5465 drivers/ufs/core/ufshcd.c 5456 5457 /** 5458 * ufshcd_transfer_req_compl - handle SCSI and query command completion 5459 * @hba: per adapter instance 5460 * 5461 * Returns 5462 * IRQ_HANDLED - If interrupt is valid 5463 * IRQ_NONE - If invalid interrupt 5464 */ > 5465 irqreturn_t ufshcd_transfer_req_compl(struct ufs_hba *hba) 5466 { 5467 /* Resetting interrupt aggregation counters first and reading the 5468 * DOOR_BELL afterward allows us to handle all the completed requests. 5469 * In order to prevent other interrupts starvation the DB is read once 5470 * after reset. The down side of this solution is the possibility of 5471 * false interrupt if device completes another request after resetting 5472 * aggregation and before reading the DB. 5473 */ 5474 if (ufshcd_is_intr_aggr_allowed(hba) && 5475 !(hba->quirks & UFSHCI_QUIRK_SKIP_RESET_INTR_AGGR)) 5476 ufshcd_reset_intr_aggr(hba); 5477 5478 if (ufs_fail_completion()) 5479 return IRQ_HANDLED; 5480 5481 /* 5482 * Ignore the ufshcd_poll() return value and return IRQ_HANDLED since we 5483 * do not want polling to trigger spurious interrupt complaints. 5484 */ 5485 ufshcd_poll(hba->host, 0); 5486 5487 return IRQ_HANDLED; 5488 } 5489 EXPORT_SYMBOL_GPL(ufshcd_transfer_req_compl); 5490 -- 0-DAY CI Kernel Test Service https://01.org/lkp