From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755856AbbE2QHY (ORCPT ); Fri, 29 May 2015 12:07:24 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:27566 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030191AbbE2QHS (ORCPT ); Fri, 29 May 2015 12:07:18 -0400 Message-ID: <55688E91.10408@fb.com> Date: Fri, 29 May 2015 10:06:41 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Keith Busch , Arnd Bergmann CC: , Matthew Wilcox , Subject: Re: [PATCH] NVMe: fix type warning on 32-bit References: <2271255.ypbMPZa6tA@wuerfel> In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.54.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-29_06:2015-05-29,2015-05-29,1970-01-01 signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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