From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796465154; b=CE5STxhlZFG0XNMYX2dmR+SlhxBPD6hJ2cJw7XCHi6D60d18znffX6rX6M+mxg4GCxCC tWTLkyV3+n9CdBi5+KGRx4ekvUcrfRhJyeSG1zvshWmjU1R5uEBEXjlEh+H2zSQcX+QrS qkT4/qjU3ILdoQ/CroegFdZsy6sIAjvfhqZlU3QxZ92SNgMXqOooTs7BVjkhUNhmLRQnY /bSaJ4C0E27mN4tXu8rStqzUm/JTEXmrwXM3u6W5du652YpmnFRS86BYIprAxuuHJhXo5 uZ6z7n0ZNQ0P/lf9GUjqBD8duQWzpmTdFmfU4IHARuiuaDUydC3JUCtJcHXkO+T580w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796465154; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=4hZkqK26jvpFp1CpGQZEdhq5ckqYPGbHne0KiAFa3f8=; b=3B1PfB8Be8P3yqva3O6ULAZ0VTpdKbCTFjJTsYJJpqf6hnZH2871m8sMf538hf1+m0Vy dEgunxA1+2WYxFohnpcSmyvN8HElp6Y95nMpOOsvMD8Q/wQPUlsxnaN4dMfOohEbMkTxj CoxvaiwbxiWJx7Muv3Zb0ZUG6SV4Xx0eroXD8DdrEKOrVAxChPSn9h2Szs25jyrckaduY n4hq2dcpOV5wyZtx+MnqpNZO/VZLVfkkOzzDmzvyM2q6i3PdhQwXptEZUcMrmn57/oMhM ItsKiF9h91yE86AhkyfdJmiO+STToK7bnJ42qIU2Sgnlsm85Curf65E9LwEteQFCT0w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gMtcUujA; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B600606A322; Sat, 5 Dec 2026 10:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gMtcUujA Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0358F1F0092B; Sat, 5 Dec 2026 10:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796465154; bh=4hZkqK26jvpFp1CpGQZEdhq5ckqYPGbHne0KiAFa3f8=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=gMtcUujAMZQkrnZ5eNsBAyS2DklFRV7DWCMaD2ZhA3/LDRWEiIrsEpzP9cPrvglms mWkU/6XGulDHUYKrU1nczHgTfPbiHvLwI/XoL1J3bimLn6zokKs+kqmUFxYc7+gPw+ Io8Jhs5nm8Z2wklyAc/7Iv70jPMSMPgznmj+1f2WXjyMZ4EClI6/uvKiIC7Y/xadXJ nFJm3N30p8y6TXR6zL+ThU6pQ8z6bffl2TuL2vYfP+HoXbkOq0u6k3BwTcjbAQhgbT 0QtirmTmIioP4jM0n9YcsCHsgWXd5fS6zjftQR35+Z1ZUfSIeo1STLLJm1xs39X2/F SjQuegBa49g1A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] scsi: elx: libefc: Initialize the virtual port list lock Reply-To: sashiko-reviews@lists.linux.dev To: "Shuo Qin" <23159100078@stu.xidian.edu.cn> Cc: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org In-Reply-To: <20261205095431.114279-1-23159100078@stu.xidian.edu.cn> References: <20261205095431.114279-1-23159100078@stu.xidian.edu.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 10:05:53 +0000 X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] scsi: elx: libefc: Fixes trailer cites wrong introducing commit -- commit 680563d03aff45c04adf842e09bbb86f2fac08e5 Author: Shuo Qin <23159100078@stu.xidian.edu.cn> > scsi: elx: libefc: Initialize the virtual port list lock > > The virtual port helpers protect efc->vport_list with vport_lock, but > efcport_init() initializes only the list head. The dynamically allocated > efc object therefore contains an uninitialized spinlock. Taking it during > virtual port teardown can trigger a spinlock debugging failure. > > Initialize vport_lock alongside the list before any virtual port helper > can use it. > > Fixes: fcd427303eb9 ("scsi: elx: libefc: SLI and FC PORT state machine in= terfaces") > Cc: stable@vger.kernel.org > Co-developed-by: Bin Yu > Signed-off-by: Bin Yu > Co-developed-by: Cheng Wen > Signed-off-by: Cheng Wen > Signed-off-by: Shuo Qin <23159100078@stu.xidian.edu.cn> [Severity: Low] Should the Fixes tag point to d7b71fd2195e ("scsi: elx: libefc: Emulex FC discovery library APIs and definitions") instead? Commit fcd427303eb9 ("scsi: elx: libefc: SLI and FC PORT state machine interfaces") only added efc_nport.c and efc_nport.h, whereas the earlier commit introduced vport_lock in struct efc and efcport_init() without calling spin_lock_init(&efc->vport_lock). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205095431.1142= 79-1-23159100078@stu.xidian.edu.cn?part=3D1