Merge branch 'for-5.12/dax' into libnvdimm-fixes
Pick up dax compile fix.
This commit is contained in:
commit
11d2498f15
@ -90,13 +90,11 @@ static ssize_t do_id_store(struct device_driver *drv, const char *buf,
|
||||
list_add(&dax_id->list, &dax_drv->ids);
|
||||
} else
|
||||
rc = -ENOMEM;
|
||||
} else
|
||||
/* nothing to remove */;
|
||||
}
|
||||
} else if (action == ID_REMOVE) {
|
||||
list_del(&dax_id->list);
|
||||
kfree(dax_id);
|
||||
} else
|
||||
/* dax_id already added */;
|
||||
}
|
||||
mutex_unlock(&dax_bus_lock);
|
||||
|
||||
if (rc < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user