Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

greybus: raw: use hexadecimal notation for request types

Use hexadecimal notation for request types in log messages.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
c7733b61 41993cd5

+1 -1
+1 -1
drivers/staging/greybus/raw.c
··· 97 97 u32 len; 98 98 99 99 if (op->type != GB_RAW_TYPE_SEND) { 100 - dev_err(dev, "unknown request type %d\n", op->type); 100 + dev_err(dev, "unknown request type 0x%02x\n", op->type); 101 101 return -EINVAL; 102 102 } 103 103