projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e195ea
)
m68k: sun3: Fix signature of sun3_get_model()
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Wed, 13 Sep 2023 14:08:30 +0000
(16:08 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:03 +0000
(10:03 +0200)
The mach_get_model() callback takes a "char *", not an
"unsigned char *".
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link:
https://lore.kernel.org/r/c635afb4542ab54c3dbd4fa2fbed07a2665a2f4e.1694613528.git.geert@linux-m68k.org
arch/m68k/sun3/idprom.c
patch
|
blob
|
history
diff --git
a/arch/m68k/sun3/idprom.c
b/arch/m68k/sun3/idprom.c
index 1ace5353d78f537735dfadf25e5ad3a2688a146e..9ffd6515ad74a7faba9908c1984492a6f2034b0e 100644
(file)
--- a/
arch/m68k/sun3/idprom.c
+++ b/
arch/m68k/sun3/idprom.c
@@
-83,7
+83,7
@@
static void __init display_system_type(unsigned char machtype)
prom_halt();
}
-void sun3_get_model(
unsigned char*
model)
+void sun3_get_model(
char *
model)
{
register int i;