[PATCH] nvme: fix another 32-bit build warning
Jens Axboe
axboe at fb.com
Tue Dec 8 11:15:03 PST 2015
On 12/08/2015 08:22 AM, Arnd Bergmann wrote:
> The nvme_user_cmd function was recently moved around from one file
> to another, which made a warning reappear that I had fixed before
> at some point:
>
> drivers/nvme/host/core.c: In function 'nvme_user_cmd':
> drivers/nvme/host/core.c:424:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> This applies the same workaround that we have elsewhere in the
> driver with an extra type cast to uintptr_t.
Applied to for-4.5/nvme, thanks Arnd.
--
Jens Axboe
More information about the Linux-nvme
mailing list