* [PATCH] ARM:zx:Delete duplicate dev_err message in zx296702_pd_probe()
@ 2020-04-03 1:35 Tang Bin
2020-04-03 7:00 ` [PATCH v2] ARM: zx: Delete duplicate error " Markus Elfring
0 siblings, 1 reply; 2+ messages in thread
From: Tang Bin @ 2020-04-03 1:35 UTC (permalink / raw)
To: jun.nie, shawnguo, linux
Cc: Markus.Elfring, linux-arm-kernel, linux-kernel, Tang Bin
In this place,devm_ioremap_resource() has already contains error
message, so delete the duplicate dev_err message.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
---
arch/arm/mach-zx/zx296702-pm-domain.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-zx/zx296702-pm-domain.c b/arch/arm/mach-zx/zx296702-pm-domain.c
index 7a08bf9dd..ac44ea8e6 100644
--- a/arch/arm/mach-zx/zx296702-pm-domain.c
+++ b/arch/arm/mach-zx/zx296702-pm-domain.c
@@ -169,10 +169,8 @@ static int zx296702_pd_probe(struct platform_device *pdev)
}
pcubase = devm_ioremap_resource(&pdev->dev, res);
- if (IS_ERR(pcubase)) {
- dev_err(&pdev->dev, "ioremap fail.\n");
+ if (IS_ERR(pcubase))
return -EIO;
- }
for (i = 0; i < ARRAY_SIZE(zx296702_pm_domains); ++i)
pm_genpd_init(zx296702_pm_domains[i], NULL, false);
--
2.20.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: zx: Delete duplicate error message in zx296702_pd_probe()
2020-04-03 1:35 [PATCH] ARM:zx:Delete duplicate dev_err message in zx296702_pd_probe() Tang Bin
@ 2020-04-03 7:00 ` Markus Elfring
0 siblings, 0 replies; 2+ messages in thread
From: Markus Elfring @ 2020-04-03 7:00 UTC (permalink / raw)
To: Tang Bin, linux-arm-kernel; +Cc: linux-kernel, Jun Nie, Russell King, Shawn Guo
> In this place,devm_ioremap_resource() has already contains error
> message, so delete the duplicate dev_err message.
Please fix such a commit message.
* I find an other wording more appropriate.
* It seems that you stumble on challenges to add space characters
(after double colons or commas).
* This is another attempt for the previous update suggestion
“ARM:mach-zx:remove duplicate debug message”.
https://lore.kernel.org/patchwork/patch/1203764/
https://lore.kernel.org/linux-arm-kernel/20200303031725.14560-1-tangbin@cmss.chinamobile.com/
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
I find this tag interesting in a specific way.
Will the use of your real name trigger any more consequences also
on other patches?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=bef7b2a7be28638770972ab2709adf11d601c11a#n458
How do you think about to change any more source files
in a systematic way?
Regards,
Markus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-03 7:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 1:35 [PATCH] ARM:zx:Delete duplicate dev_err message in zx296702_pd_probe() Tang Bin
2020-04-03 7:00 ` [PATCH v2] ARM: zx: Delete duplicate error " Markus Elfring
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).