Re: [U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs.

2016-01-14 Thread Tom Rini
On Wed, Dec 30, 2015 at 01:05:58PM +, ben.whit...@gmail.com wrote: > From: Ben Whitten > > With format-security errors turned on, GCC picks up the use of sprintf with > a format parameter not being a string literal. > > Simple uses of sprintf are also converted to

Re: [U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs.

2015-12-31 Thread Wolfgang Denk
Dear ben.whit...@gmail.com, In message <1451480758-8871-1-git-send-email-ben.whit...@gmail.com> you wrote: > From: Ben Whitten > > With format-security errors turned on, GCC picks up the use of sprintf with > a format parameter not being a string literal. > > Simple uses

[U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs.

2015-12-30 Thread ben . whitten
From: Ben Whitten With format-security errors turned on, GCC picks up the use of sprintf with a format parameter not being a string literal. Simple uses of sprintf are also converted to use strcpy. Signed-off-by: Ben Whitten --- Changes for v2: