mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'master' into for-next
This commit is contained in:
commit
f1bbbb6912
3859 changed files with 293114 additions and 105562 deletions
|
|
@ -2570,9 +2570,7 @@ mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i)
|
|||
}
|
||||
|
||||
/**
|
||||
* mptscsih_set_scsi_lookup
|
||||
*
|
||||
* writes a scmd entry into the ScsiLookup[] array list
|
||||
* mptscsih_set_scsi_lookup - write a scmd entry into the ScsiLookup[] array list
|
||||
*
|
||||
* @ioc: Pointer to MPT_ADAPTER structure
|
||||
* @i: index into the array
|
||||
|
|
@ -2735,7 +2733,7 @@ mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req,
|
|||
|
||||
|
||||
/**
|
||||
* mptscsih_get_completion_code -
|
||||
* mptscsih_get_completion_code - get completion code from MPT request
|
||||
* @ioc: Pointer to MPT_ADAPTER structure
|
||||
* @req: Pointer to original MPT request frame
|
||||
* @reply: Pointer to MPT reply frame (NULL if TurboReply)
|
||||
|
|
|
|||
|
|
@ -186,14 +186,9 @@ static int i2o_cfg_parms(unsigned long arg, unsigned int type)
|
|||
if (!dev)
|
||||
return -ENXIO;
|
||||
|
||||
ops = kmalloc(kcmd.oplen, GFP_KERNEL);
|
||||
if (!ops)
|
||||
return -ENOMEM;
|
||||
|
||||
if (copy_from_user(ops, kcmd.opbuf, kcmd.oplen)) {
|
||||
kfree(ops);
|
||||
return -EFAULT;
|
||||
}
|
||||
ops = memdup_user(kcmd.opbuf, kcmd.oplen);
|
||||
if (IS_ERR(ops))
|
||||
return PTR_ERR(ops);
|
||||
|
||||
/*
|
||||
* It's possible to have a _very_ large table
|
||||
|
|
|
|||
Loading…
Reference in a new issue