summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/signal.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-10 04:07:01 +0200
committerHelge Deller <deller@gmx.de>2023-08-10 17:32:10 +0200
commitdc54a52a8cd43cff4fbe8d761c98edeb857d3ad7 (patch)
treeff38d36c58c36619c92c0ce5359718d61ac9ba9b /arch/parisc/kernel/signal.c
parentparisc: ioremap: Fix sparse warnings (diff)
downloadlinux-dc54a52a8cd43cff4fbe8d761c98edeb857d3ad7.tar.xz
linux-dc54a52a8cd43cff4fbe8d761c98edeb857d3ad7.zip
parisc: signal: Fix sparse incorrect type in assignment warning
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/signal.c')
-rw-r--r--arch/parisc/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index f886ff0c75df..e8d27def6c52 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -423,7 +423,7 @@ static void check_syscallno_in_delay_branch(struct pt_regs *regs)
regs->gr[31] -= 8; /* delayed branching */
/* Get assembler opcode of code in delay branch */
- uaddr = (unsigned int *) ((regs->gr[31] & ~3) + 4);
+ uaddr = (u32 __user *) ((regs->gr[31] & ~3) + 4);
err = get_user(opcode, uaddr);
if (err)
return;