* [PATCH resend2] sh/intc: Restore devm_ioremap() alignment
@ 2020-11-10 15:49 Geert Uytterhoeven
2020-11-10 15:53 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-11-10 15:49 UTC (permalink / raw)
To: Yoshinori Sato, Rich Felker; +Cc: linux-sh, linux-kernel, Geert Uytterhoeven
Restore alignment of the continuation of the devm_ioremap() call in
register_intc_controller().
Fixes: 4bdc0d676a643140 ("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/sh/intc/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c
index f8e070d67fa3266d..a14684ffe4c1a8ef 100644
--- a/drivers/sh/intc/core.c
+++ b/drivers/sh/intc/core.c
@@ -214,7 +214,7 @@ int __init register_intc_controller(struct intc_desc *desc)
d->window[k].phys = res->start;
d->window[k].size = resource_size(res);
d->window[k].virt = ioremap(res->start,
- resource_size(res));
+ resource_size(res));
if (!d->window[k].virt)
goto err2;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend2] sh/intc: Restore devm_ioremap() alignment
2020-11-10 15:49 [PATCH resend2] sh/intc: Restore devm_ioremap() alignment Geert Uytterhoeven
@ 2020-11-10 15:53 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2020-11-10 15:53 UTC (permalink / raw)
To: Geert Uytterhoeven, Yoshinori Sato, Rich Felker; +Cc: linux-sh, linux-kernel
Hello!
On 11/10/20 6:49 PM, Geert Uytterhoeven wrote:
> Restore alignment of the continuation of the devm_ioremap() call in
It's a plain ioremap() call below, isn't it, :-)
> register_intc_controller().
>
> Fixes: 4bdc0d676a643140 ("remove ioremap_nocache and devm_ioremap_nocache")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> drivers/sh/intc/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c
> index f8e070d67fa3266d..a14684ffe4c1a8ef 100644
> --- a/drivers/sh/intc/core.c
> +++ b/drivers/sh/intc/core.c
> @@ -214,7 +214,7 @@ int __init register_intc_controller(struct intc_desc *desc)
> d->window[k].phys = res->start;
> d->window[k].size = resource_size(res);
> d->window[k].virt = ioremap(res->start,
> - resource_size(res));
> + resource_size(res));
> if (!d->window[k].virt)
> goto err2;
> }
MBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-10 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:49 [PATCH resend2] sh/intc: Restore devm_ioremap() alignment Geert Uytterhoeven
2020-11-10 15:53 ` Sergei Shtylyov
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).