Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752232AbbLHTPx (ORCPT ); Tue, 8 Dec 2015 14:15:53 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:60575 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbbLHTPw (ORCPT ); Tue, 8 Dec 2015 14:15:52 -0500 Subject: Re: [PATCH] nvme: fix another 32-bit build warning To: Arnd Bergmann , , References: <8914775.foiT9pJv7s@wuerfel> CC: Christoph Hellwig , Keith Busch From: Jens Axboe Message-ID: <56672C37.401@fb.com> Date: Tue, 8 Dec 2015 12:15:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <8914775.foiT9pJv7s@wuerfel> 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:,, definitions=2015-12-08_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 23 On 12/08/2015 08:22 AM, Arnd Bergmann wrote: > The nvme_user_cmd function was recently moved around from one file > to another, which made a warning reappear that I had fixed before > at some point: > > drivers/nvme/host/core.c: In function 'nvme_user_cmd': > drivers/nvme/host/core.c:424:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > This applies the same workaround that we have elsewhere in the > driver with an extra type cast to uintptr_t. Applied to for-4.5/nvme, thanks Arnd. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/