On Wed, Jun 29, 2016 at 4:19 PM, Verma, Vishal L
<[email protected]> wrote:
> On Wed, 2016-06-29 at 16:12 -0700, Dan Williams wrote:
>> On Wed, Jun 29, 2016 at 4:00 PM, Vishal Verma <[email protected]
>> m> wrote:
>> >
>> > 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(-)
>> We used to do this, but nvdimm_cmd_name() currently only knows the
>> names for the "Intel" DSMs.  At a minimum we should force cmd_name to
>> "unknown" for the other formats until support is added.
>
> Looks like both the cmd_name functions (for bus and dimm) already do
> return 'unknown' when a match isn't found?

If the value is out of range, but if the cmd number is < 10 it will
print the Intel name which might be wrong.  nvdimm_cmd_name() needs to
take a new 'family id' parameter.
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to