From nobody Sun Feb 2 16:32:43 2025 X-Original-To: net@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 4YmFXq5Kx5z5mNcy for ; Sun, 02 Feb 2025 16:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YmFXp6vFjz3bJ8 for ; Sun, 02 Feb 2025 16:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738513963; 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: in-reply-to:in-reply-to:references:references; bh=v2B5/XWt5vAqaQnnMCXERK/9VO/CJxIEiLS8S9YCkHU=; b=FcoRCtSGgQRfFszpWD6KtnFg+vpHRurChG66GsbfvfQoHnzUD7ODu9mUzTZfOow9tIZYsh fKzAF2bzvfjT+2KRxFLMFfeTbotYUuD+8F8LTHKrnpFOJdLOzdofNw+JI8CXTBcHjgrMH3 jmuyFugs2+6EaA8i7GiCEauqgz2v9SzCMpzNYChThs9ulQhKIbLi2sGOOuCUQrLVGs1Geg qR3Ze2FoiIvnuTMfCNHYGoz8SNtR4oUlTHbjO4aUTcGPQ3UXMDo62PKNDV1qK5cdcAKMBT D37V1x5ANTo+/x+REiWSBfBIt7bEugftaI5WATEEEF3tOBSRANkqswVyy/kmAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738513963; 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: in-reply-to:in-reply-to:references:references; bh=v2B5/XWt5vAqaQnnMCXERK/9VO/CJxIEiLS8S9YCkHU=; b=wLJuWHUVAKoncuAn72+I5ekhrO8K4iNJV6bNtMGx52m/zfcR0D3ifnsquRyFGBqxtIxlIH 5P/p1Zh7NK2ElxhTt770voL9G349imT6U5LbqNj6SKxtlk/zPt0WUvIKwE9wA2AxKm5DGL rjWHBVDSlqlg8YJ98gEkbdA+qTaoU/wD7QyRG8DkfW18k9rCbMejsWTeHtKYA0FSB7Rf+c bf0g4gSIJ1gYPnq7i83YY+PrEjWhIuU3+ni4I/0h3GtWo8q/8dqFH6dA3yl8/nt+yt2QKo ME71V/9JxctjEH1Sbw/0y7gkR2TJW4Na3Oqnm0q/33/yYsJuy60ZBdVMhyKCog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738513963; a=rsa-sha256; cv=none; b=RZIcT4vTbvuGtOXvWWCOdlXEnkUzqKXN2egFGalx7xU6fYcW1K5cRdlggfaTRS+6FwSmaE Zh6NXeclEZpL6CmuCAx86xwLdLq6fk5WwSR+948ZVnsLU9cP2W5omFGTOWIS4l55I14/Xr o+++W4S4whAu8kaGAiXRubwHsIjODV2jWGfr/7YDcGaX1EwoioK8SSu7W+73YeJNQdOyPE Hjt4Ks9fkvVA9wTCqOlEt54eIoH9zeUxc9ZbvS/H++Oi2C4QUXuGIgxMH/mtetGI54JP77 fVoeg2RDJk1D/w6EO3fJIYiUaLjehxaEcdHDRPK0r3JPF55Q6chkxA0fij1l+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4YmFXp6VSXzyC8 for ; Sun, 02 Feb 2025 16:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 512GWgdP041127 for ; Sun, 2 Feb 2025 16:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 512GWgC0041126 for net@FreeBSD.org; Sun, 2 Feb 2025 16:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218004] sys/dev/sfxge/common/efx_mcdi.c: PVS-Studio: Unreachable code detected (CWE-561) Date: Sun, 02 Feb 2025 16:32:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218004 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed CC| |imp@FreeBSD.org --- Comment #1 from Warner Losh --- Sometimes efx_mcdi_raise_exception will panic, sometimes it won't on this c= ode path. That means this isn't dead code, per se. Since this driver is rather old by this point, I don't have hardware to test and the problem it fixes is questionable at best, I'm just going to close t= his because we're never going to commit it. --=20 You are receiving this mail because: You are the assignee for the bug.=