diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-19 17:05:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-29 10:06:21 -0600 |
commit | fec558b5f178d9eb35d2ed76f15489c60e3590bd (patch) | |
tree | 6cc32d362f0b820f8f2828f32b6b544e9a42ad7a /include | |
parent | aad653a0bc09dd4ebcb5579f9f835bbae9ef2ba3 (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions