[Bug 218004] sys/dev/sfxge/common/efx_mcdi.c: PVS-Studio: Unreachable code detected (CWE-561)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Feb 2025 16:32:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218004

Warner Losh <imp@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed
                 CC|                            |imp@FreeBSD.org

--- Comment #1 from Warner Losh <imp@FreeBSD.org> ---
Sometimes efx_mcdi_raise_exception will panic, sometimes it won't on this code
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 this
because we're never going to commit it.

-- 
You are receiving this mail because:
You are the assignee for the bug.