Skip to content
Commit a48dac44 authored by Paul Walmsley's avatar Paul Walmsley
Browse files

riscv: fp: add missing __user pointer annotations

The __user annotations were removed from the {save,restore}_fp_state()
function signatures by commit 007f5c35

 ("Refactor FPU code in
signal setup/return procedures"), but should be present, and sparse
warns when they are not applied.  Add them back in.

This change should have no functional impact.

Signed-off-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Fixes: 007f5c35

 ("Refactor FPU code in signal setup/return procedures")
Cc: Alan Kao <alankao@andestech.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 5ed881bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment