Re: [PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Matias Bjørling
On 05/03/2016 05:22 PM, Arnd Bergmann wrote: A recent change to lightnvm added code to pass a kernel pointer to the hardware, which gcc complained about: drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': drivers/nvme/host/lightnvm.c:472:32: error: cast from pointer to integer of

Re: [PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Matias Bjørling
On 05/03/2016 05:22 PM, Arnd Bergmann wrote: A recent change to lightnvm added code to pass a kernel pointer to the hardware, which gcc complained about: drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': drivers/nvme/host/lightnvm.c:472:32: error: cast from pointer to integer of

Re: [PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Javier González
> > On 03 May 2016, at 17:22, Arnd Bergmann wrote: > > A recent change to lightnvm added code to pass a kernel pointer > to the hardware, which gcc complained about: > > drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': > drivers/nvme/host/lightnvm.c:472:32: error:

Re: [PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Javier González
> > On 03 May 2016, at 17:22, Arnd Bergmann wrote: > > A recent change to lightnvm added code to pass a kernel pointer > to the hardware, which gcc complained about: > > drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': > drivers/nvme/host/lightnvm.c:472:32: error: cast from

[PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Arnd Bergmann
A recent change to lightnvm added code to pass a kernel pointer to the hardware, which gcc complained about: drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': drivers/nvme/host/lightnvm.c:472:32: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]

[PATCH] lightnvm: pass dma address to hardware rather than pointer

2016-05-03 Thread Arnd Bergmann
A recent change to lightnvm added code to pass a kernel pointer to the hardware, which gcc complained about: drivers/nvme/host/lightnvm.c: In function 'nvme_nvm_rqtocmd': drivers/nvme/host/lightnvm.c:472:32: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]