Skip to content

Commit 6daa083

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fix from Catalin Marinas: "Check addr_limit in arm64 __dump_instr()" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: ensure __dump_instr() checks addr_limit
2 parents ead7515 + 7a7003b commit 6daa083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static void __dump_instr(const char *lvl, struct pt_regs *regs)
118118
for (i = -4; i < 1; i++) {
119119
unsigned int val, bad;
120120

121-
bad = __get_user(val, &((u32 *)addr)[i]);
121+
bad = get_user(val, &((u32 *)addr)[i]);
122122

123123
if (!bad)
124124
p += sprintf(p, i == 0 ? "(%08x) " : "%08x ", val);

0 commit comments

Comments
 (0)