diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-12-04 21:30:10 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-04 16:23:36 -0800 |
commit | b933fa4a40962c77254405a5274c8927f53b5074 (patch) | |
tree | 281f046cabe2487c0f219334e66f99048984c382 /drivers/staging/greybus/sdio.c | |
parent | 2f3db927cdf7627aa5359ff46c80ab72f7971980 (diff) |
greybus: Prefix hexadecimal values with 0x while printing them
To clearly specify the base for printed values, prefix hexadecimal
values with 0x.
Suggested-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index beb35747a4f8..da9093738d4a 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -398,7 +398,7 @@ static int gb_sdio_command(struct gb_sdio_host *host, struct mmc_command *cmd) cmd_flags = GB_SDIO_RSP_R3_R4; break; default: - dev_err(mmc_dev(host->mmc), "cmd flag invalid %04x\n", + dev_err(mmc_dev(host->mmc), "cmd flag invalid 0x%04x\n", mmc_resp_type(cmd)); ret = -EINVAL; goto out; @@ -418,7 +418,7 @@ static int gb_sdio_command(struct gb_sdio_host *host, struct mmc_command *cmd) cmd_type = GB_SDIO_CMD_ADTC; break; default: - dev_err(mmc_dev(host->mmc), "cmd type invalid %04x\n", + dev_err(mmc_dev(host->mmc), "cmd type invalid 0x%04x\n", mmc_cmd_type(cmd)); ret = -EINVAL; goto out; |