Re: [PATCH v2] PCI: mobiveil: Fix csr_read/write build issue

2019-09-30 Thread Andrew Murray
On Sun, Sep 29, 2019 at 09:35:05AM +0800, Kefeng Wang wrote: > The riscv has csr_read/write macro, see arch/riscv/include/asm/csr.h, > the same function naming will cause build error, using such generic names > in a driver is bad, rename csr_[read,write][l,] to mobiveil_csr_read/write > to fix it.

[PATCH v2] PCI: mobiveil: Fix csr_read/write build issue

2019-09-28 Thread Kefeng Wang
The riscv has csr_read/write macro, see arch/riscv/include/asm/csr.h, the same function naming will cause build error, using such generic names in a driver is bad, rename csr_[read,write][l,] to mobiveil_csr_read/write to fix it. drivers/pci/controller/pcie-mobiveil.c:238:69: error: macro "csr_rea