Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-28 Thread Thierry Reding
On Wed, Aug 27, 2014 at 11:41:55AM -0600, Stephen Warren wrote: > On 08/27/2014 01:01 AM, Thierry Reding wrote: > >On Tue, Aug 26, 2014 at 11:04:56AM -0600, Stephen Warren wrote: > >>On 08/26/2014 09:33 AM, Thierry Reding wrote: > >>>From: Thierry Reding > >>> > >>>Provide a new modifier to vsprin

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-27 Thread Stephen Warren
On 08/27/2014 01:01 AM, Thierry Reding wrote: On Tue, Aug 26, 2014 at 11:04:56AM -0600, Stephen Warren wrote: On 08/26/2014 09:33 AM, Thierry Reding wrote: From: Thierry Reding Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-27 Thread Simon Glass
Hi Thierry, On 27 August 2014 01:37, Thierry Reding wrote: > On Tue, Aug 26, 2014 at 05:14:17PM -0600, Simon Glass wrote: >> Hi Thierry, >> >> On 26 August 2014 09:33, Thierry Reding wrote: >> > >> > From: Thierry Reding >> > >> > Provide a new modifier to vsprintf() to print phys_addr_t variab

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-27 Thread Thierry Reding
On Tue, Aug 26, 2014 at 05:14:17PM -0600, Simon Glass wrote: > Hi Thierry, > > On 26 August 2014 09:33, Thierry Reding wrote: > > > > From: Thierry Reding > > > > Provide a new modifier to vsprintf() to print phys_addr_t variables to > > avoid having to cast or #ifdef when printing them out. The

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-27 Thread Thierry Reding
On Tue, Aug 26, 2014 at 11:04:56AM -0600, Stephen Warren wrote: > On 08/26/2014 09:33 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >Provide a new modifier to vsprintf() to print phys_addr_t variables to > >avoid having to cast or #ifdef when printing them out. The %pa modifier > >is use

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Simon Glass
Hi Thierry, On 26 August 2014 09:33, Thierry Reding wrote: > > From: Thierry Reding > > Provide a new modifier to vsprintf() to print phys_addr_t variables to > avoid having to cast or #ifdef when printing them out. The %pa modifier > is used for this purpose, so phys_addr_t variables need to be

Re: [U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Stephen Warren
On 08/26/2014 09:33 AM, Thierry Reding wrote: From: Thierry Reding Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing them out. The %pa modifier is used for this purpose, so phys_addr_t variables need to be passed by reference, li

[U-Boot] [PATCH v2 01/40] vsprintf: Add modifier for phys_addr_t

2014-08-26 Thread Thierry Reding
From: Thierry Reding Provide a new modifier to vsprintf() to print phys_addr_t variables to avoid having to cast or #ifdef when printing them out. The %pa modifier is used for this purpose, so phys_addr_t variables need to be passed by reference, like so: phys_addr_t start = 0;