From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 3A98338389 for ; Thu, 13 Feb 2025 13:56:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739455004; cv=none; b=epJ2DytmNP/DCvUZVPu+wWEkjRlMv7hAtIPiXuEzojsfYWRTuEO9p3Y/FwLtYhg5jKOfBXWfDj9g5t5ffVicSnXTlTh572zxAVOcgGu5JLVMxziVfvGXWpip3EB99ITZh/UrwnoFjOXT/LJfSnGVdV+AGJ2iFkGxHXVpAQl0Wkg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739455004; c=relaxed/simple; bh=gKR0VUGxdh0cr2JhegKNYOQZ5sBrhLajIFrYqh1qMs4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ENWhsoQ1A4ca4gxvEShOk2XRoNabQkR/tqBRxSy0EdC0h1Cay+iEc+Ko0F4VL1FHH50haMt5cr4LXuW7RlOTVHw/V/K9tTrrWLyxYoUThKYXlXIPhZ+RPHlSWmuUu//ukzeIt48LLZETNlv1Pm1bwBe04/mJnetXfBneHKZ+qe8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=U85BoUYP; arc=none smtp.client-ip=192.198.163.8 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="U85BoUYP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739455001; x=1770991001; h=date:from:to:cc:subject:message-id:mime-version; bh=gKR0VUGxdh0cr2JhegKNYOQZ5sBrhLajIFrYqh1qMs4=; b=U85BoUYP8z75FSi8h4KMnM31NhPqMhKgiYbbkf0jdq6lSc/kQvUelhD8 oeeaJXrhheGuDiEiX7UHRen4kVj+v/20E2/vsX57HLktFzTBC6LQIHCP8 fSylQuvgLWXx8lJx/cbeOQVhkpKJjdP1JkY8EP0ce6r1/YdGrJpIJW7gC 79yxqRxLxf0HWRkam4Ug9MjS7wM3fRQ6BmBW5NHsbUIBIMJQfWtM0athe +3q9mmymhXK7sCfWLUk5auEM1/GxYLPXL7GJW0yAuvWCm5pkbTG+0BNvb BAQCZvq3n3khUbLgLroWHoBzMiKWoxIqb5Z9xPW+tEmfyDfM2ZDedXjM9 g==; X-CSE-ConnectionGUID: iVgchGv5TOm5+57WKuXl7A== X-CSE-MsgGUID: A+yRT8VcTzCLlzayFQ/d2g== X-IronPort-AV: E=McAfee;i="6700,10204,11344"; a="57691518" X-IronPort-AV: E=Sophos;i="6.13,282,1732608000"; d="scan'208";a="57691518" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2025 05:56:39 -0800 X-CSE-ConnectionGUID: A7OBQl8zQKC8bG+Kg5TsMA== X-CSE-MsgGUID: XL96oDiVSreBqsp/IxEhIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="136376497" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 13 Feb 2025 05:56:38 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tiZhj-00177J-1m; Thu, 13 Feb 2025 13:56:35 +0000 Date: Thu, 13 Feb 2025 21:55:42 +0800 From: kernel test robot To: Quinn Tran Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, "Martin K. Petersen" , Himanshu Madhani , Nilesh Javali Subject: drivers/scsi/qla2xxx/qla_isr.c:3724: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' Message-ID: <202502132151.4yPO6rz0-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Quinn, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4dc1d1bec89864d8076e5ab314f86f46442bfb02 commit: c019cd656e717349ff22d0c41d6fbfc773f48c52 scsi: qla2xxx: edif: Fix dropped IKE message date: 2 years, 7 months ago config: i386-randconfig-011-20240921 (https://download.01.org/0day-ci/archive/20250213/202502132151.4yPO6rz0-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250213/202502132151.4yPO6rz0-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/202502132151.4yPO6rz0-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/scsi/qla2xxx/qla_isr.c:3724: warning: Function parameter or struct member 'rsp_q_in' not described in 'qla_chk_cont_iocb_avail' vim +3724 drivers/scsi/qla2xxx/qla_isr.c e84067d7430107 Duane Grigsby 2017-06-21 3713 fac2807946c10b Quinn Tran 2021-06-23 3714 /** fac2807946c10b Quinn Tran 2021-06-23 3715 * qla_chk_cont_iocb_avail - check for all continuation iocbs are available fac2807946c10b Quinn Tran 2021-06-23 3716 * before iocb processing can start. fac2807946c10b Quinn Tran 2021-06-23 3717 * @vha: host adapter pointer fac2807946c10b Quinn Tran 2021-06-23 3718 * @rsp: respond queue fac2807946c10b Quinn Tran 2021-06-23 3719 * @pkt: head iocb describing how many continuation iocb fac2807946c10b Quinn Tran 2021-06-23 3720 * Return: 0 all iocbs has arrived, xx- all iocbs have not arrived. fac2807946c10b Quinn Tran 2021-06-23 3721 */ fac2807946c10b Quinn Tran 2021-06-23 3722 static int qla_chk_cont_iocb_avail(struct scsi_qla_host *vha, c019cd656e7173 Quinn Tran 2022-07-12 3723 struct rsp_que *rsp, response_t *pkt, u32 rsp_q_in) fac2807946c10b Quinn Tran 2021-06-23 @3724 { c019cd656e7173 Quinn Tran 2022-07-12 3725 int start_pkt_ring_index; c019cd656e7173 Quinn Tran 2022-07-12 3726 u32 iocb_cnt = 0; fac2807946c10b Quinn Tran 2021-06-23 3727 int rc = 0; fac2807946c10b Quinn Tran 2021-06-23 3728 fac2807946c10b Quinn Tran 2021-06-23 3729 if (pkt->entry_count == 1) fac2807946c10b Quinn Tran 2021-06-23 3730 return rc; fac2807946c10b Quinn Tran 2021-06-23 3731 fac2807946c10b Quinn Tran 2021-06-23 3732 /* ring_index was pre-increment. set it back to current pkt */ fac2807946c10b Quinn Tran 2021-06-23 3733 if (rsp->ring_index == 0) fac2807946c10b Quinn Tran 2021-06-23 3734 start_pkt_ring_index = rsp->length - 1; fac2807946c10b Quinn Tran 2021-06-23 3735 else fac2807946c10b Quinn Tran 2021-06-23 3736 start_pkt_ring_index = rsp->ring_index - 1; fac2807946c10b Quinn Tran 2021-06-23 3737 c019cd656e7173 Quinn Tran 2022-07-12 3738 if (rsp_q_in < start_pkt_ring_index) c019cd656e7173 Quinn Tran 2022-07-12 3739 /* q in ptr is wrapped */ c019cd656e7173 Quinn Tran 2022-07-12 3740 iocb_cnt = rsp->length - start_pkt_ring_index + rsp_q_in; fac2807946c10b Quinn Tran 2021-06-23 3741 else c019cd656e7173 Quinn Tran 2022-07-12 3742 iocb_cnt = rsp_q_in - start_pkt_ring_index; fac2807946c10b Quinn Tran 2021-06-23 3743 c019cd656e7173 Quinn Tran 2022-07-12 3744 if (iocb_cnt < pkt->entry_count) fac2807946c10b Quinn Tran 2021-06-23 3745 rc = -EIO; fac2807946c10b Quinn Tran 2021-06-23 3746 c019cd656e7173 Quinn Tran 2022-07-12 3747 ql_dbg(ql_dbg_init, vha, 0x5091, c019cd656e7173 Quinn Tran 2022-07-12 3748 "%s - ring %p pkt %p entry count %d iocb_cnt %d rsp_q_in %d rc %d\n", c019cd656e7173 Quinn Tran 2022-07-12 3749 __func__, rsp->ring, pkt, pkt->entry_count, iocb_cnt, rsp_q_in, rc); fac2807946c10b Quinn Tran 2021-06-23 3750 fac2807946c10b Quinn Tran 2021-06-23 3751 return rc; fac2807946c10b Quinn Tran 2021-06-23 3752 } fac2807946c10b Quinn Tran 2021-06-23 3753 :::::: The code at line 3724 was first introduced by commit :::::: fac2807946c10b9a509b9c348afd442fa823c5f7 scsi: qla2xxx: edif: Add extraction of auth_els from the wire :::::: TO: Quinn Tran :::::: CC: Martin K. Petersen -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki