[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55688E91.10408@fb.com>
Date: Fri, 29 May 2015 10:06:41 -0600
From: Jens Axboe <axboe@...com>
To: Keith Busch <keith.busch@...el.com>, Arnd Bergmann <arnd@...db.de>
CC: <linux-nvme@...ts.infradead.org>,
Matthew Wilcox <willy@...ux.intel.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] NVMe: fix type warning on 32-bit
On 05/28/2015 04:35 PM, Keith Busch wrote:
> On Tue, 19 May 2015, Arnd Bergmann wrote:
>> 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.
>
>
> Thanks for the fix.
>
> Acked-by: Keith Busch <keith.busch@...el.com>
Picked up for this series.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists