For the debug prints in acpi_nfit_ctl(), all the prints except the input buffer dump printed the command name. Make this also do the same for better readability.
Cc: Dan Williams <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Signed-off-by: Vishal Verma <[email protected]> --- drivers/acpi/nfit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/nfit.c b/drivers/acpi/nfit.c index 2215fc8..d35e3be 100644 --- a/drivers/acpi/nfit.c +++ b/drivers/acpi/nfit.c @@ -247,8 +247,8 @@ static int acpi_nfit_ctl(struct nvdimm_bus_descriptor *nd_desc, } if (IS_ENABLED(CONFIG_ACPI_NFIT_DEBUG)) { - dev_dbg(dev, "%s:%s cmd: %d: func: %d input length: %d\n", - __func__, dimm_name, cmd, func, + dev_dbg(dev, "%s:%s cmd: %s: func: %d input length: %d\n", + __func__, dimm_name, cmd_name, func, in_buf.buffer.length); print_hex_dump_debug("nvdimm in ", DUMP_PREFIX_OFFSET, 4, 4, in_buf.buffer.pointer, -- 2.5.5 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
