From nobody Tue Jun 25 14:56:00 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W7nvh5q5Jz5PS99; Tue, 25 Jun 2024 14:56:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W7nvh5JkGz4qr0; Tue, 25 Jun 2024 14:56:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719327360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TwaxxWJLKGSP0dkCMuMChz2LONJV3bX7zYbAiMuFTsE=; b=LxtYGnw2VmXeWgfO0W/SFBFkrgQJ3t3JeBZeSRLX8ufVIqj3s1dXLqIKqCOe9dGpK4kXs8 1ERKHzzWZIz577AlhDeUB8j3TTw4NtU2IRVyI7oZjddVXMpSD2BhK+uhlUCduqLOPamo8Y qgOnkncA0WnuW9prkD7ex5/2UAry7pANC0Zx2OXyp+y1SGe7xNKC4EwvGMUpJiDgIfieMM 6fkgaz+MfMzIbPIXOMBUMlj02vtt2NEN/MDD0CyIG32Yaxy5hQahFXEI4PRDnHQ9DwSVEK pZPy7sSrwxsG09OBRfMob2Di2I6myXq/kM0RXs3PH+0xuuW/kJllaGcs+4txcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719327360; a=rsa-sha256; cv=none; b=l1mXBV7fITXmOgKyZIQs+Sx6W/d04tV/m+zu5wzdEb5oZdSE28nLlN2Diw2kJtSJTbYuKh h47tBB9es8/uh9ZaK/ND0wdtBOaEklbLOMZiWcnz7rFKjJPgDfB94jEPOPSmiNSU6bnGgm Ql38NHG7nlGQ03kg2Irer6S3Ok0DqCXA/sglQpwUjGtDCnkAN/BE8IimIo3gfnLEb2P41O J/l6/EdCQhoR90atKsEigpP8QObtZ+1bGF3QI8nV9m6jrU+7Ck6ve3i1ngMalUlcXHO/Aw LI5EULwrpiyAubnL8dGK0uqQyHj31GjCE5c9j9DjABuK7U72bdl5XU2bgqKZRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719327360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TwaxxWJLKGSP0dkCMuMChz2LONJV3bX7zYbAiMuFTsE=; b=utWQznH3GiJr2jw17F3ECznW6s+pu7uIPJrEQk7XdVGo5+7VNIMl82pZOGilk07N31niPp bcb5JqTKR7fpbFjwVU+ZdnB/feBzFO0Ab4ebZ48wXY0GwIiM9HktBmCWnKJXvnXYYC4BMe 7zPgBGynt5Xos5VcOOAKptqAMyH/NYud7q3KQLSSkKVy1536cNuViM8Rn3pUBqmX0u9MWI mUzNJPBqeY8iz1pzmbtNQcF8yQczNTn5NSoTs+yAeTpL4NdiRoYD9CEWn3mhX3yZjz4Plv 9PEkOTnen+ZDic6IWlFI79or9ySBfE9DWNJkC3kkXUkC/8ENRth8rw1iP7IDPQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W7nvh4w8hz15qH; Tue, 25 Jun 2024 14:56:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45PEu0x1051191; Tue, 25 Jun 2024 14:56:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45PEu0mQ051188; Tue, 25 Jun 2024 14:56:00 GMT (envelope-from git) Date: Tue, 25 Jun 2024 14:56:00 GMT Message-Id: <202406251456.45PEu0mQ051188@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mariusz Zaborski Subject: git: 8aa9192ce98a - main - isp: fix ISPCTL_ABORT_CMD switch case List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: oshogbo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8aa9192ce98aec07b24f8279c709237dd2c4421b Auto-Submitted: auto-generated The branch main has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=8aa9192ce98aec07b24f8279c709237dd2c4421b commit 8aa9192ce98aec07b24f8279c709237dd2c4421b Author: Mariusz Zaborski AuthorDate: 2024-06-25 14:50:28 +0000 Commit: Mariusz Zaborski CommitDate: 2024-06-25 14:56:12 +0000 isp: fix ISPCTL_ABORT_CMD switch case Prevent kernel panic by not running ISPCTL_FCLINK_TEST after a failed ISPCTL_ABORT_CMD. Reviewed by: mav Tested by: Arne Steinkamm MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D45718 --- sys/dev/isp/isp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index b064f86fda89..14d8147c3562 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -3099,6 +3099,7 @@ isp_control(ispsoftc_t *isp, ispctl_t ctl, ...) if (ab->abrt_nphdl == ISP24XX_ABRT_OKAY) return (0); isp_prt(isp, ISP_LOGWARN, "Chan %d handle %d abort returned 0x%x", chan, tgt, ab->abrt_nphdl); + break; } case ISPCTL_FCLINK_TEST: {