Re: [PATCH] ntb: perf test: fix address space confusion

2016-03-07 Thread Jon Mason
On Tue, Jan 26, 2016 at 1:20 PM, Jiang, Dave wrote: > On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: >> The ntb driver assigns between pointers an __iomem tokens, and >> also casts them to 64-bit integers, which results in compiler >> warnings on 32-bit systems: >>

Re: [PATCH] ntb: perf test: fix address space confusion

2016-03-07 Thread Jon Mason
On Tue, Jan 26, 2016 at 1:20 PM, Jiang, Dave wrote: > On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: >> The ntb driver assigns between pointers an __iomem tokens, and >> also casts them to 64-bit integers, which results in compiler >> warnings on 32-bit systems: >> >>

Re: [PATCH] ntb: perf test: fix address space confusion

2016-01-26 Thread Jiang, Dave
On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: > The ntb driver assigns between pointers an __iomem tokens, and > also casts them to 64-bit integers, which results in compiler > warnings on 32-bit systems: > > drivers/ntb/test/ntb_perf.c: In function 'perf_copy': >

[PATCH] ntb: perf test: fix address space confusion

2016-01-26 Thread Arnd Bergmann
The ntb driver assigns between pointers an __iomem tokens, and also casts them to 64-bit integers, which results in compiler warnings on 32-bit systems: drivers/ntb/test/ntb_perf.c: In function 'perf_copy': drivers/ntb/test/ntb_perf.c:213:10: error: cast from pointer to integer of different size

[PATCH] ntb: perf test: fix address space confusion

2016-01-26 Thread Arnd Bergmann
The ntb driver assigns between pointers an __iomem tokens, and also casts them to 64-bit integers, which results in compiler warnings on 32-bit systems: drivers/ntb/test/ntb_perf.c: In function 'perf_copy': drivers/ntb/test/ntb_perf.c:213:10: error: cast from pointer to integer of different size

Re: [PATCH] ntb: perf test: fix address space confusion

2016-01-26 Thread Jiang, Dave
On Tue, 2016-01-26 at 10:31 +0100, Arnd Bergmann wrote: > The ntb driver assigns between pointers an __iomem tokens, and > also casts them to 64-bit integers, which results in compiler > warnings on 32-bit systems: > > drivers/ntb/test/ntb_perf.c: In function 'perf_copy': >