diff options
author | Joe Perches <joe@perches.com> | 2016-03-11 00:21:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-21 05:28:58 +0100 |
commit | 9ef595d83aea6b4d93c9a120df3c5db2e226929f (patch) | |
tree | 921a0a84517dafc1161b0dc886379e0e880d7273 /arch/sparc/kernel/unaligned_64.c | |
parent | sparc: Fix misspellings in comments. (diff) | |
download | linux-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/unaligned_64.c')
-rw-r--r-- | arch/sparc/kernel/unaligned_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/unaligned_64.c b/arch/sparc/kernel/unaligned_64.c index d89e97b374cf..9aacb9159262 100644 --- a/arch/sparc/kernel/unaligned_64.c +++ b/arch/sparc/kernel/unaligned_64.c @@ -209,8 +209,8 @@ static inline int do_int_store(int reg_num, int size, unsigned long *dst_addr, if (size == 16) { size = 8; zero = (((long)(reg_num ? - (unsigned)fetch_reg(reg_num, regs) : 0)) << 32) | - (unsigned)fetch_reg(reg_num + 1, regs); + (unsigned int)fetch_reg(reg_num, regs) : 0)) << 32) | + (unsigned int)fetch_reg(reg_num + 1, regs); } else if (reg_num) { src_val_p = fetch_reg_addr(reg_num, regs); } |