Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817AbcC0PXZ (ORCPT ); Sun, 27 Mar 2016 11:23:25 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:35052 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbcC0PXX convert rfc822-to-8bit (ORCPT ); Sun, 27 Mar 2016 11:23:23 -0400 MIME-Version: 1.0 In-Reply-To: <20160322003117.GA15424@google.com> References: <1458321080-42873-1-git-send-email-computersforpeace@gmail.com> <20160321235237.GA17910@kudzu.us> <20160322003117.GA15424@google.com> Date: Sun, 27 Mar 2016 11:23:22 -0400 Message-ID: Subject: Re: [PATCH] ntb: test: fix pointer size warning From: Jon Mason To: Brian Norris Cc: Allen Hubbe , Dave Jiang , linux-ntb@googlegroups.com, linux-kernel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 23 On Mon, Mar 21, 2016 at 8:31 PM, Brian Norris wrote: > On Mon, Mar 21, 2016 at 07:52:38PM -0400, Jon Mason wrote: >> On Fri, Mar 18, 2016 at 10:11:20AM -0700, Brian Norris wrote: >> > drivers/ntb/test/ntb_perf.c: In function ‘perf_copy’: >> > drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] >> > drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] >> > >> > On 32-bit systems, we are casting a 32-bit pointer to a 64-bit value. >> > This shouldn't cause functional problems, but we might as well fix the >> > warning and allow 32-bit arithmetic for 32-bit systems. >> >> This was already addressed by a patch from Arnd Bergmann, which is >> queued in the ntb git tree. > > Great! > > Is your ntb tree in linux-next.git? No, it is not. > Regards, > Brian