Merge branch 'for-5.12/dax' into libnvdimm-fixes

Pick up dax compile fix.
This commit is contained in:
Dan Williams 2021-04-09 22:00:09 -07:00
commit 11d2498f15

View File

@ -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)