summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/setup_32.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-03-11 00:21:43 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-21 05:28:58 +0100
commit9ef595d83aea6b4d93c9a120df3c5db2e226929f (patch)
tree921a0a84517dafc1161b0dc886379e0e880d7273 /arch/sparc/kernel/setup_32.c
parentsparc: Fix misspellings in comments. (diff)
downloadlinux-9ef595d83aea6b4d93c9a120df3c5db2e226929f.tar.xz
linux-9ef595d83aea6b4d93c9a120df3c5db2e226929f.zip
sparc: Convert naked unsigned uses to unsigned int
Use the more normal kernel definition/declaration style. Done via: $ git ls-files arch/sparc | \ xargs ./scripts/checkpatch.pl -f --fix-inplace --types=unspecified_int Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/setup_32.c')
-rw-r--r--arch/sparc/kernel/setup_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c
index baef495c06bd..69d75ff1c25c 100644
--- a/arch/sparc/kernel/setup_32.c
+++ b/arch/sparc/kernel/setup_32.c
@@ -109,7 +109,7 @@ unsigned long cmdline_memory_size __initdata = 0;
unsigned char boot_cpu_id = 0xff; /* 0xff will make it into DATA section... */
static void
-prom_console_write(struct console *con, const char *s, unsigned n)
+prom_console_write(struct console *con, const char *s, unsigned int n)
{
prom_write(s, n);
}