* [PATCH v1] soc: qcom: smem: use %*ph to print small buffer
@ 2020-07-30 15:32 Andy Shevchenko
[not found] ` <20201027183022.GJ4077@smile.fi.intel.com>
2021-01-04 4:40 ` patchwork-bot+linux-arm-msm
0 siblings, 2 replies; 4+ messages in thread
From: Andy Shevchenko @ 2020-07-30 15:32 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, linux-arm-msm, Imran Khan; +Cc: Andy Shevchenko
Use %*ph format to print small buffer as hex string.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/soc/qcom/smem.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index 28c19bcb2f20..8e66003f3e81 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -731,9 +731,7 @@ qcom_smem_partition_header(struct qcom_smem *smem,
header = smem->regions[0].virt_base + le32_to_cpu(entry->offset);
if (memcmp(header->magic, SMEM_PART_MAGIC, sizeof(header->magic))) {
- dev_err(smem->dev, "bad partition magic %02x %02x %02x %02x\n",
- header->magic[0], header->magic[1],
- header->magic[2], header->magic[3]);
+ dev_err(smem->dev, "bad partition magic %4ph\n", header->magic);
return NULL;
}
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1] soc: qcom: smem: use %*ph to print small buffer
[not found] ` <20201027183022.GJ4077@smile.fi.intel.com>
@ 2020-12-28 20:04 ` Andy Shevchenko
2020-12-28 20:15 ` Bjorn Andersson
0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2020-12-28 20:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, linux-arm-msm, Imran Khan
On Tue, Oct 27, 2020 at 08:30:22PM +0200, Andy Shevchenko wrote:
> On Thu, Jul 30, 2020 at 06:32:20PM +0300, Andy Shevchenko wrote:
> > Use %*ph format to print small buffer as hex string.
>
> Any comments?
Anybody alive here?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] soc: qcom: smem: use %*ph to print small buffer
2020-12-28 20:04 ` Andy Shevchenko
@ 2020-12-28 20:15 ` Bjorn Andersson
0 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2020-12-28 20:15 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Andy Gross, linux-arm-msm, Imran Khan
On Mon 28 Dec 14:04 CST 2020, Andy Shevchenko wrote:
> On Tue, Oct 27, 2020 at 08:30:22PM +0200, Andy Shevchenko wrote:
> > On Thu, Jul 30, 2020 at 06:32:20PM +0300, Andy Shevchenko wrote:
> > > Use %*ph format to print small buffer as hex string.
> >
> > Any comments?
>
> Anybody alive here?
>
I have no idea why I've been missing this...twice, sorry about that and
thanks for the ping! I've picked it up for v5.12 now.
Regards,
Bjorn
> --
> With Best Regards,
> Andy Shevchenko
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] soc: qcom: smem: use %*ph to print small buffer
2020-07-30 15:32 [PATCH v1] soc: qcom: smem: use %*ph to print small buffer Andy Shevchenko
[not found] ` <20201027183022.GJ4077@smile.fi.intel.com>
@ 2021-01-04 4:40 ` patchwork-bot+linux-arm-msm
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-01-04 4:40 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: linux-arm-msm
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
On Thu, 30 Jul 2020 18:32:20 +0300 you wrote:
> Use %*ph format to print small buffer as hex string.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/soc/qcom/smem.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Here is the summary with links:
- [v1] soc: qcom: smem: use %*ph to print small buffer
https://git.kernel.org/qcom/c/1b3df368914b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-04 4:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 15:32 [PATCH v1] soc: qcom: smem: use %*ph to print small buffer Andy Shevchenko
[not found] ` <20201027183022.GJ4077@smile.fi.intel.com>
2020-12-28 20:04 ` Andy Shevchenko
2020-12-28 20:15 ` Bjorn Andersson
2021-01-04 4:40 ` patchwork-bot+linux-arm-msm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).