diff options
author | Joe Perches <joe@perches.com> | 2016-03-10 15:21:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-20 21:28:58 -0700 |
commit | 9ef595d83aea6b4d93c9a120df3c5db2e226929f (patch) | |
tree | 921a0a84517dafc1161b0dc886379e0e880d7273 /arch/sparc/kernel/sys_sparc_64.c | |
parent | 08f80073039aba911fbf3f316a00a4ac5d03052f (diff) | |
download | lwn-9ef595d83aea6b4d93c9a120df3c5db2e226929f.tar.gz lwn-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/sys_sparc_64.c')
-rw-r--r-- | arch/sparc/kernel/sys_sparc_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index b489e9759518..fe8b8ee8e660 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c @@ -337,10 +337,10 @@ SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second switch (call) { case SEMOP: err = sys_semtimedop(first, ptr, - (unsigned)second, NULL); + (unsigned int)second, NULL); goto out; case SEMTIMEDOP: - err = sys_semtimedop(first, ptr, (unsigned)second, + err = sys_semtimedop(first, ptr, (unsigned int)second, (const struct timespec __user *) (unsigned long) fifth); goto out; |