riscv: use NULL instead of a plain 0
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Fri, 1 Jun 2018 15:21:21 +0000 (17:21 +0200)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 7 Jun 2018 15:01:50 +0000 (08:01 -0700)
commit2861ae302f6bf7221db2dac5bd4cf0f2e4cab13b
tree7effa9d3f635c0cf83805ca6de440c7293df1b5d
parent29dcea88779c856c7dc92040a0c01233263101d4
riscv: use NULL instead of a plain 0

sbi_remote_sfence_vma() & sbi_remote_fence_i() takes
a pointer as first argument but some macros call them with
a plain 0 which, while legal C, is frowned upon in the kernel.

Change this by replacing the 0 by NULL.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/cacheflush.h
arch/riscv/include/asm/tlbflush.h