diff options
author | Helge Deller <deller@gmx.de> | 2023-08-10 05:07:01 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-10 18:32:10 +0300 |
commit | dc54a52a8cd43cff4fbe8d761c98edeb857d3ad7 (patch) | |
tree | ff38d36c58c36619c92c0ce5359718d61ac9ba9b /arch/parisc | |
parent | b873bde58578db2201b2f30ca708dcb0e35ff4b1 (diff) | |
download | linux-dc54a52a8cd43cff4fbe8d761c98edeb857d3ad7.tar.xz |
parisc: signal: Fix sparse incorrect type in assignment warning
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/signal.c | 2 |
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; |