aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/sparc/kernel/process_64.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-03-10 15:21:43 -0800
committerDavid S. Miller <davem@davemloft.net>2016-03-20 21:28:58 -0700
commit9ef595d83aea6b4d93c9a120df3c5db2e226929f (patch)
tree921a0a84517dafc1161b0dc886379e0e880d7273 /arch/sparc/kernel/process_64.c
parentsparc: Fix misspellings in comments. (diff)
downloadwireguard-linux-9ef595d83aea6b4d93c9a120df3c5db2e226929f.tar.xz
wireguard-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/process_64.c')
-rw-r--r--arch/sparc/kernel/process_64.c2
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))) {