Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286785

Re: [PATCH] nvme: fix another 32-bit build warning

From Jens Axboe <axboe@fb.com>
Newsgroups linux.kernel
Subject Re: [PATCH] nvme: fix another 32-bit build warning
Date 2015-12-08 20:20 +0100
Message-ID <qDvXP-6mP-15@gated-at.bofh.it> (permalink)
References <qDsnf-44U-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] nvme: fix another 32-bit build warning Arnd Bergmann <arnd@arndb.de> - 2015-12-08 16:30 +0100
  Re: [PATCH] nvme: fix another 32-bit build warning Jens Axboe <axboe@fb.com> - 2015-12-08 20:20 +0100

csiph-web