Merge branch 'for-4.7/libnvdimm' into libnvdimm-for-next

This commit is contained in:
Dan Williams
2016-05-18 10:06:48 -07:00
6 changed files with 158 additions and 6 deletions

View File

@@ -787,6 +787,9 @@ int __init nvdimm_bus_init(void)
{
int rc;
BUILD_BUG_ON(sizeof(struct nd_smart_payload) != 128);
BUILD_BUG_ON(sizeof(struct nd_smart_threshold_payload) != 8);
rc = bus_register(&nvdimm_bus_type);
if (rc)
return rc;