Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148877685
D6099.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
692 B
Referenced Files
None
Subscribers
None
D6099.diff
View Options
Index: head/sys/dev/mpr/mpr_sas_lsi.c
===================================================================
--- head/sys/dev/mpr/mpr_sas_lsi.c
+++ head/sys/dev/mpr/mpr_sas_lsi.c
@@ -1272,15 +1272,15 @@
struct mprsas_softc *sassc;
char path_str[64];
+ if (done_ccb == NULL)
+ return;
+
sassc = (struct mprsas_softc *)done_ccb->ccb_h.ppriv_ptr1;
xpt_path_string(done_ccb->ccb_h.path, path_str, sizeof(path_str));
mpr_dprint(sassc->sc, MPR_INFO, "Completing stop unit for %s\n",
path_str);
- if (done_ccb == NULL)
- return;
-
/*
* Nothing more to do except free the CCB and path. If the command
* timed out, an abort reset, then target reset will be issued during
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 5:37 PM (18 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30083605
Default Alt Text
D6099.diff (692 B)
Attached To
Mode
D6099: Move check for (done_ccb == NULL)
Attached
Detach File
Event Timeline
Log In to Comment