FreeBSD Bugzilla – Attachment 181051 Details for
Bug 218002
sys/dev/mps/mps.c: PVS-Studio: Dead Code (CWE-561)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
mps.c.patch (text/plain), 356 bytes, created by
Svyatoslav
on 2017-03-22 13:09:17 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Svyatoslav
Created:
2017-03-22 13:09:17 UTC
Size:
356 bytes
patch
obsolete
>diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c >index 1357da8..479d83c 100644 >--- a/sys/dev/mps/mps.c >+++ b/sys/dev/mps/mps.c >@@ -1302,8 +1302,8 @@ mps_alloc_requests(struct mps_softc *sc) > else > mps_free_command(sc, cm); > else { >+ sc->num_reqs = i; > panic("failed to allocate command %d\n", i); >- sc->num_reqs = i; > break; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218002
: 181051