[lkml]   [2015]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>

Picked up for this series.

Jens Axboe

 \ /
  Last update: 2015-05-29 18:41    [W:0.057 / U:36.036 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site