* [PATCH] drivers: zorro: zorro.c: Added a blank line after declarations.
@ 2018-05-13 3:11 Jacob Enders
2018-05-22 8:24 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Enders @ 2018-05-13 3:11 UTC (permalink / raw)
To: geert; +Cc: linux-m68k, linux-kernel, Jacob
From: Jacob <jacobenders1@gmail.com>
Fixed a coding style issue.
Signed-off-by: Jacob Enders <jacobenders1@gmail.com>
---
drivers/zorro/zorro.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c
index 47728477297e..67fa900572a9 100644
--- a/drivers/zorro/zorro.c
+++ b/drivers/zorro/zorro.c
@@ -101,6 +101,7 @@ static void __init mark_region(unsigned long start, unsigned long end,
end = end > Z2RAM_END ? Z2RAM_SIZE : end-Z2RAM_START;
while (start < end) {
u32 chunk = start>>Z2RAM_CHUNKSHIFT;
+
if (flag)
set_bit(chunk, zorro_unused_z2ram);
else
@@ -117,6 +118,7 @@ static struct resource __init *zorro_find_parent_resource(
for (i = 0; i < bridge->num_resources; i++) {
struct resource *r = &bridge->resource[i];
+
if (zorro_resource_start(z) >= r->start &&
zorro_resource_end(z) <= r->end)
return r;
@@ -168,6 +170,7 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
if (z->id == ZORRO_PROD_GVP_EPC_BASE) {
/* GVP quirk */
unsigned long magic = zi->boardaddr + 0x8000;
+
z->id |= *(u16 *)ZTWO_VADDR(magic) & GVP_PRODMASK;
}
z->slotaddr = zi->slotaddr;
--
2.11.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: zorro: zorro.c: Added a blank line after declarations.
2018-05-13 3:11 [PATCH] drivers: zorro: zorro.c: Added a blank line after declarations Jacob Enders
@ 2018-05-22 8:24 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2018-05-22 8:24 UTC (permalink / raw)
To: Jacob Enders; +Cc: linux-m68k, Linux Kernel Mailing List
On Sun, May 13, 2018 at 5:11 AM, Jacob Enders <jacobenders1@gmail.com> wrote:
> From: Jacob <jacobenders1@gmail.com>
>
> Fixed a coding style issue.
>
> Signed-off-by: Jacob Enders <jacobenders1@gmail.com>
Thanks, applying and queuing for v4.18.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-22 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-13 3:11 [PATCH] drivers: zorro: zorro.c: Added a blank line after declarations Jacob Enders
2018-05-22 8:24 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®