RISC-V: Make our port sparse-clean
authorPalmer Dabbelt <palmer@sifive.com>
Mon, 11 Jun 2018 16:09:49 +0000 (09:09 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 11 Jun 2018 16:09:49 +0000 (09:09 -0700)
This patch set contains a handful of fixes that clean up the sparse
results for the RISC-V port.  These patches shouldn't have any
functional difference.  The patches:

* Use NULL instead of 0.
* Clean up __user annotations.
* Split __copy_user into two functions, to make the __user annotations
  valid.

Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
1  2 
arch/riscv/lib/uaccess.S

Simple merge