mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/infiniband/hw/cxgb4/device.c The cxgb4 conflict was simply overlapping changes. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
commit
8fd90bb889
189 changed files with 1904 additions and 942 deletions
|
|
@ -633,7 +633,6 @@ raw3270_reset_device_cb(struct raw3270_request *rq, void *data)
|
|||
} else
|
||||
raw3270_writesf_readpart(rp);
|
||||
memset(&rp->init_reset, 0, sizeof(rp->init_reset));
|
||||
memset(&rp->init_data, 0, sizeof(rp->init_data));
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
|
|
@ -901,10 +901,15 @@ static int ap_device_probe(struct device *dev)
|
|||
int rc;
|
||||
|
||||
ap_dev->drv = ap_drv;
|
||||
|
||||
spin_lock_bh(&ap_device_list_lock);
|
||||
list_add(&ap_dev->list, &ap_device_list);
|
||||
spin_unlock_bh(&ap_device_list_lock);
|
||||
|
||||
rc = ap_drv->probe ? ap_drv->probe(ap_dev) : -ENODEV;
|
||||
if (!rc) {
|
||||
if (rc) {
|
||||
spin_lock_bh(&ap_device_list_lock);
|
||||
list_add(&ap_dev->list, &ap_device_list);
|
||||
list_del_init(&ap_dev->list);
|
||||
spin_unlock_bh(&ap_device_list_lock);
|
||||
}
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue