Arnd Bergmann fec558b5f1 NVMe: fix type warning on 32-bit
A recent change to the ioctl handling caused a new harmless
warning in the NVMe driver on all 32-bit machines:

drivers/block/nvme-core.c: In function 'nvme_submit_io':
drivers/block/nvme-core.c:1794:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

In order to shup up that warning, this introduces a new
temporary variable that uses a double cast to extract
the pointer from an __u64 structure member.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: a67a95134ff ("NVMe: Meta data handling through submit io ioctl")
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-05-29 10:06:21 -06:00
..
2015-02-16 17:56:04 -08:00
2013-04-09 14:13:19 -04:00
2014-08-08 15:57:28 -07:00
2014-08-08 15:57:28 -07:00
2015-01-02 15:20:25 -07:00
2015-04-02 12:39:28 -06:00
2015-05-29 10:06:21 -06:00
2013-11-08 09:10:30 -07:00