Message ID | 20181107021245.amegu3dwawlwyxob@gabell (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Question about unit test for acpi_nfit_notify(). | expand |
diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c index cffc2c5a778d..3bae4a879f5f 100644 --- a/tools/testing/nvdimm/test/nfit.c +++ b/tools/testing/nvdimm/test/nfit.c @@ -2670,7 +2670,7 @@ static int nfit_test_probe(struct platform_device *pdev) obj->buffer.length = nfit_test->nfit_size; obj->buffer.pointer = nfit_test->nfit_buf; *(nfit_test->_fit) = obj; - __acpi_nfit_notify(&pdev->dev, nfit_test, 0x80); + __acpi_nfit_notify(&pdev->dev, nfit_test->_fit, 0x80); /* associate dimm devices with nfit_mem data for notification testing */ mutex_lock(&acpi_desc->init_mutex);