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/process_64.c | |
parent | 08f80073039aba911fbf3f316a00a4ac5d03052f (diff) | |
download | linux-stable-9ef595d83aea6b4d93c9a120df3c5db2e226929f.tar.gz linux-stable-9ef595d83aea6b4d93c9a120df3c5db2e226929f.tar.bz2 linux-stable-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/process_64.c')
-rw-r--r-- | arch/sparc/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c index 46a59643bb1c..c16ef1af1843 100644 --- a/arch/sparc/kernel/process_64.c +++ b/arch/sparc/kernel/process_64.c @@ -103,7 +103,7 @@ static void show_regwindow32(struct pt_regs *regs) mm_segment_t old_fs; __asm__ __volatile__ ("flushw"); - rw = compat_ptr((unsigned)regs->u_regs[14]); + rw = compat_ptr((unsigned int)regs->u_regs[14]); old_fs = get_fs(); set_fs (USER_DS); if (copy_from_user (&r_w, rw, sizeof(r_w))) { |