Page MenuHomeFreeBSD

D6099.diff
No OneTemporary

D6099.diff

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

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)

Event Timeline