* [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
@ 2021-06-01 8:24 ` Zhihao Cheng
0 siblings, 0 replies; 6+ messages in thread
From: Zhihao Cheng @ 2021-06-01 8:24 UTC (permalink / raw)
To: jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, chengzhihao1, yukuai3
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
---
drivers/mailbox/bcm2835-mailbox.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
index 39761d190545..86b7ce3549c5 100644
--- a/drivers/mailbox/bcm2835-mailbox.c
+++ b/drivers/mailbox/bcm2835-mailbox.c
@@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
if (IS_ERR(mbox->regs)) {
ret = PTR_ERR(mbox->regs);
- dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
return ret;
}
--
2.31.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
@ 2021-06-01 8:24 ` Zhihao Cheng
0 siblings, 0 replies; 6+ messages in thread
From: Zhihao Cheng @ 2021-06-01 8:24 UTC (permalink / raw)
To: jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, chengzhihao1, yukuai3
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
---
drivers/mailbox/bcm2835-mailbox.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
index 39761d190545..86b7ce3549c5 100644
--- a/drivers/mailbox/bcm2835-mailbox.c
+++ b/drivers/mailbox/bcm2835-mailbox.c
@@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
if (IS_ERR(mbox->regs)) {
ret = PTR_ERR(mbox->regs);
- dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
return ret;
}
--
2.31.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
2021-06-01 8:24 ` Zhihao Cheng
@ 2021-06-09 12:13 ` Zhihao Cheng
-1 siblings, 0 replies; 6+ messages in thread
From: Zhihao Cheng @ 2021-06-09 12:13 UTC (permalink / raw)
To: jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, yukuai3
在 2021/6/1 16:24, Zhihao Cheng 写道:
> There is a error message within devm_ioremap_resource
> already, so remove the dev_err call to avoid redundant
> error message.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
> ---
> drivers/mailbox/bcm2835-mailbox.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
> index 39761d190545..86b7ce3549c5 100644
> --- a/drivers/mailbox/bcm2835-mailbox.c
> +++ b/drivers/mailbox/bcm2835-mailbox.c
> @@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
> mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
> if (IS_ERR(mbox->regs)) {
> ret = PTR_ERR(mbox->regs);
> - dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
> return ret;
> }
>
friendly ping.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
@ 2021-06-09 12:13 ` Zhihao Cheng
0 siblings, 0 replies; 6+ messages in thread
From: Zhihao Cheng @ 2021-06-09 12:13 UTC (permalink / raw)
To: jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, yukuai3
在 2021/6/1 16:24, Zhihao Cheng 写道:
> There is a error message within devm_ioremap_resource
> already, so remove the dev_err call to avoid redundant
> error message.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
> ---
> drivers/mailbox/bcm2835-mailbox.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
> index 39761d190545..86b7ce3549c5 100644
> --- a/drivers/mailbox/bcm2835-mailbox.c
> +++ b/drivers/mailbox/bcm2835-mailbox.c
> @@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
> mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
> if (IS_ERR(mbox->regs)) {
> ret = PTR_ERR(mbox->regs);
> - dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
> return ret;
> }
>
friendly ping.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
2021-06-09 12:13 ` Zhihao Cheng
@ 2021-06-09 15:58 ` Scott Branden
-1 siblings, 0 replies; 6+ messages in thread
From: Scott Branden @ 2021-06-09 15:58 UTC (permalink / raw)
To: Zhihao Cheng, jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, yukuai3
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
On 2021-06-09 5:13 a.m., Zhihao Cheng wrote:
> 在 2021/6/1 16:24, Zhihao Cheng 写道:
>> There is a error message within devm_ioremap_resource
>> already, so remove the dev_err call to avoid redundant
>> error message.
>>
>> Reported-by: Hulk Robot <hulkci@huawei.com>
>> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
>> ---
>> drivers/mailbox/bcm2835-mailbox.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
>> index 39761d190545..86b7ce3549c5 100644
>> --- a/drivers/mailbox/bcm2835-mailbox.c
>> +++ b/drivers/mailbox/bcm2835-mailbox.c
>> @@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
>> mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
>> if (IS_ERR(mbox->regs)) {
>> ret = PTR_ERR(mbox->regs);
>> - dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
>> return ret;
>> }
>>
>
> friendly ping.
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
@ 2021-06-09 15:58 ` Scott Branden
0 siblings, 0 replies; 6+ messages in thread
From: Scott Branden @ 2021-06-09 15:58 UTC (permalink / raw)
To: Zhihao Cheng, jaswinder.singh, eric, jassisinghbrar
Cc: bcm-kernel-feedback-list, linux-kernel, linux-rpi-kernel,
linux-arm-kernel, yukuai3
[-- Attachment #1.1: Type: text/plain, Size: 1093 bytes --]
On 2021-06-09 5:13 a.m., Zhihao Cheng wrote:
> 在 2021/6/1 16:24, Zhihao Cheng 写道:
>> There is a error message within devm_ioremap_resource
>> already, so remove the dev_err call to avoid redundant
>> error message.
>>
>> Reported-by: Hulk Robot <hulkci@huawei.com>
>> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
>> ---
>> drivers/mailbox/bcm2835-mailbox.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c
>> index 39761d190545..86b7ce3549c5 100644
>> --- a/drivers/mailbox/bcm2835-mailbox.c
>> +++ b/drivers/mailbox/bcm2835-mailbox.c
>> @@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
>> mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
>> if (IS_ERR(mbox->regs)) {
>> ret = PTR_ERR(mbox->regs);
>> - dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
>> return ret;
>> }
>>
>
> friendly ping.
>
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4212 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-06-09 17:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 8:24 [PATCH] mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe() Zhihao Cheng
2021-06-01 8:24 ` Zhihao Cheng
2021-06-09 12:13 ` Zhihao Cheng
2021-06-09 12:13 ` Zhihao Cheng
2021-06-09 15:58 ` Scott Branden
2021-06-09 15:58 ` Scott Branden
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.