Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1365122

Re: [PATCH] ntb: test: fix pointer size warning

From Jon Mason <jdmason@kudzu.us>
Newsgroups linux.kernel
Subject Re: [PATCH] ntb: test: fix pointer size warning
Date 2016-03-27 17:30 +0200
Message-ID <rhkNA-1SE-7@gated-at.bofh.it> (permalink)
References <re6e6-2TF-13@gated-at.bofh.it> <rfhTP-4r5-7@gated-at.bofh.it> <rfiwy-4XQ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 21, 2016 at 8:31 PM, Brian Norris
<computersforpeace@gmail.com> 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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ntb: test: fix pointer size warning Brian Norris <computersforpeace@gmail.com> - 2016-03-18 18:20 +0100
  Re: [PATCH] ntb: test: fix pointer size warning "Jiang, Dave" <dave.jiang@intel.com> - 2016-03-18 18:20 +0100
  Re: [PATCH] ntb: test: fix pointer size warning Jon Mason <jdmason@kudzu.us> - 2016-03-22 01:00 +0100
    Re: [PATCH] ntb: test: fix pointer size warning Brian Norris <computersforpeace@gmail.com> - 2016-03-22 01:40 +0100
      Re: [PATCH] ntb: test: fix pointer size warning Jon Mason <jdmason@kudzu.us> - 2016-03-27 17:30 +0200

csiph-web