Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F4082998
Masterwork From Distant Lands
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
cem
Dec 19 2018, 9:56 PM
2018-12-19 21:56:30 (UTC+0)
Size
617 B
Referenced Files
None
Subscribers
None
Masterwork From Distant Lands
View Options
diff --git a/sys/dev/mps/mps_sas_lsi.c b/sys/dev/mps/mps_sas_lsi.c
index d5e51eb6ca6c..cfdaf70fda7b 100644
--- a/sys/dev/mps/mps_sas_lsi.c
+++ b/sys/dev/mps/mps_sas_lsi.c
@@ -1004,11 +1004,11 @@ mpssas_get_sata_identify(struct mps_softc *sc, u16 handle,
* the command did timeout, use EWOULDBLOCK.
*/
if ((cm != NULL)
- && (cm->cm_flags & MPS_CM_FLAGS_SATA_ID_TIMEOUT) == 0)
+ && (cm->cm_flags & MPS_CM_FLAGS_SATA_ID_TIMEOUT) == 0) {
mps_free_command(sc, cm);
- else if (error == 0)
+ free(buffer, M_MPT2);
+ } else if (error == 0)
error = EWOULDBLOCK;
- free(buffer, M_MPT2);
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1691628
Default Alt Text
Masterwork From Distant Lands (617 B)
Attached To
Mode
P240 Masterwork From Distant Lands
Attached
Detach File
Event Timeline
Log In to Comment