Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-11-17 Thread sjg
On Sun, Oct 01, 2017 at 12:31:21AM +0200, Dr. Philipp Tomsich wrote: > > > On 30 Sep 2017, at 22:32, Tom Rini wrote: > > > > On Sat, Sep 30, 2017 at 06:08:02PM +0200, Dr. Philipp Tomsich wrote: > >> Simon, > >> > >>> On 28 Sep 2017, at 18:14, Dr. Philipp Tomsich > >>>

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-30 Thread Tom Rini
On Sun, Oct 01, 2017 at 12:31:21AM +0200, Dr. Philipp Tomsich wrote: > > > On 30 Sep 2017, at 22:32, Tom Rini wrote: > > > > On Sat, Sep 30, 2017 at 06:08:02PM +0200, Dr. Philipp Tomsich wrote: > >> Simon, > >> > >>> On 28 Sep 2017, at 18:14, Dr. Philipp Tomsich > >>>

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-30 Thread Dr. Philipp Tomsich
> On 30 Sep 2017, at 22:32, Tom Rini wrote: > > On Sat, Sep 30, 2017 at 06:08:02PM +0200, Dr. Philipp Tomsich wrote: >> Simon, >> >>> On 28 Sep 2017, at 18:14, Dr. Philipp Tomsich >>> wrote: >>> >>> On 28 Sep 2017, at 14:35,

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-30 Thread Tom Rini
On Sat, Sep 30, 2017 at 06:08:02PM +0200, Dr. Philipp Tomsich wrote: > Simon, > > > On 28 Sep 2017, at 18:14, Dr. Philipp Tomsich > > wrote: > > > > > >> On 28 Sep 2017, at 14:35, Simon Glass wrote: > >> > >> This currently causes a

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-30 Thread Dr. Philipp Tomsich
Simon, > On 28 Sep 2017, at 18:14, Dr. Philipp Tomsich > wrote: > > >> On 28 Sep 2017, at 14:35, Simon Glass wrote: >> >> This currently causes a warning in sandbox and will not do the right >> thing: >> >> drivers/core/read.c: In

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-29 Thread Bin Meng
On Thu, Sep 28, 2017 at 8:35 PM, Simon Glass wrote: > This currently causes a warning in sandbox and will not do the right > thing: > > drivers/core/read.c: In function ‘dev_read_addr_ptr’: > drivers/core/read.c:64:44: warning: cast to pointer from integer of >

Re: [U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-28 Thread Dr. Philipp Tomsich
> On 28 Sep 2017, at 14:35, Simon Glass wrote: > > This currently causes a warning in sandbox and will not do the right > thing: > > drivers/core/read.c: In function ‘dev_read_addr_ptr’: > drivers/core/read.c:64:44: warning: cast to pointer from integer of > different

[U-Boot] [PATCH] dm: core: Correct address cast in dev_read_addr_ptr()

2017-09-28 Thread Simon Glass
This currently causes a warning in sandbox and will not do the right thing: drivers/core/read.c: In function ‘dev_read_addr_ptr’: drivers/core/read.c:64:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (addr == FDT_ADDR_T_NONE) ? NULL : (void