Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/cavium Remove useless cast
details: https://anonhg.NetBSD.org/src/rev/946d5a2bbc9d
branches: trunk
changeset: 347247:946d5a2bbc9d
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Aug 19 10:19:15 2016 +0000
description:
Remove useless cast
diffstat:
sys/arch/mips/cavium/octeon_cpunode.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r d14553deebfc -r 946d5a2bbc9d sys/arch/mips/cavium/octeon_cpunode.c
--- a/sys/arch/mips/cavium/octeon_cpunode.c Fri Aug 19 10:18:11 2016 +0000
+++ b/sys/arch/mips/cavium/octeon_cpunode.c Fri Aug 19 10:19:15 2016 +0000
@@ -191,11 +191,11 @@
new_insns[1] |= (uint16_t)load_addr;
#ifdef DEBUG_VERBOSE
printf("%s: %08x: insn#1 %08x: lui r%u, %d\n",
- __func__, (int32_t)load_addr, new_insns[0],
+ __func__, load_addr, new_insns[0],
(new_insns[0] >> 16) & 31,
(int16_t)new_insns[0]);
printf("%s: %08x: insn#2 %08x: %c%c r%u, %d(r%u)\n",
- __func__, (int32_t)load_addr, new_insns[0],
+ __func__, load_addr, new_insns[0],
INSN_LOAD_P(new_insns[1]) ? 'l' : 's',
INSN_LW_P(new_insns[1]) ? 'w' : 'd',
(new_insns[0] >> 16) & 31,
Home |
Main Index |
Thread Index |
Old Index