Merge tag '4.4-scsi-mkp' into misc
SCSI queue for 4.4. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
@@ -1038,6 +1038,10 @@ kbuf_alloc_2_sgl(int bytes, u32 sgdir, int sge_offset, int *frags,
|
||||
int i, buflist_ent;
|
||||
int sg_spill = MAX_FRAGS_SPILL1;
|
||||
int dir;
|
||||
|
||||
if (bytes < 0)
|
||||
return NULL;
|
||||
|
||||
/* initialization */
|
||||
*frags = 0;
|
||||
*blp = NULL;
|
||||
|
Reference in New Issue
Block a user