Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/amd/xgbe/xgbe-desc.c drivers/net/ethernet/renesas/sh_eth.c Overlapping changes in both conflict cases. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -404,6 +404,7 @@ static int backend_create_xenvif(struct backend_info *be)
|
||||
int err;
|
||||
long handle;
|
||||
struct xenbus_device *dev = be->dev;
|
||||
struct xenvif *vif;
|
||||
|
||||
if (be->vif != NULL)
|
||||
return 0;
|
||||
@@ -414,13 +415,13 @@ static int backend_create_xenvif(struct backend_info *be)
|
||||
return (err < 0) ? err : -EINVAL;
|
||||
}
|
||||
|
||||
be->vif = xenvif_alloc(&dev->dev, dev->otherend_id, handle);
|
||||
if (IS_ERR(be->vif)) {
|
||||
err = PTR_ERR(be->vif);
|
||||
be->vif = NULL;
|
||||
vif = xenvif_alloc(&dev->dev, dev->otherend_id, handle);
|
||||
if (IS_ERR(vif)) {
|
||||
err = PTR_ERR(vif);
|
||||
xenbus_dev_fatal(dev, err, "creating interface");
|
||||
return err;
|
||||
}
|
||||
be->vif = vif;
|
||||
|
||||
kobject_uevent(&dev->dev.kobj, KOBJ_ONLINE);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user