(Forced commit- last one missed the comments)
Handle both old and new TARGIOALLOCUNIT/TARGIOFREEUNIT cases- the new one allows us to specify inquiry data we want to use. Handle more of the CAM_DIS_DISCONNECT case.
This commit is contained in:
parent
17ff160058
commit
387c7c9d0e
@ -2155,8 +2155,8 @@ allocdescr()
|
||||
struct targ_cmd_desc* descr;
|
||||
|
||||
/* Allocate the targ_descr structure */
|
||||
descr = (struct targ_cmd_desc *)malloc(sizeof(*descr),
|
||||
M_DEVBUF, M_NOWAIT);
|
||||
descr = (struct targ_cmd_desc *)
|
||||
malloc(sizeof(*descr), M_DEVBUF, M_NOWAIT);
|
||||
if (descr == NULL)
|
||||
return (NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user