projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b873bde
)
parisc: signal: Fix sparse incorrect type in assignment warning
author
Helge Deller
<deller@gmx.de>
Thu, 10 Aug 2023 02:07:01 +0000
(
04:07
+0200)
committer
Helge Deller
<deller@gmx.de>
Thu, 10 Aug 2023 15:32:10 +0000
(17:32 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/signal.c
b/arch/parisc/kernel/signal.c
index
f886ff0
..
e8d27de
100644
(file)
--- 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 = (u
nsigned int
*) ((regs->gr[31] & ~3) + 4);
+ uaddr = (u
32 __user
*) ((regs->gr[31] & ~3) + 4);
err = get_user(opcode, uaddr);
if (err)
return;