]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix a few gcc warnings.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 25 Apr 2011 01:39:43 +0000 (01:39 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 21:17:52 +0000 (23:17 +0200)
commitcd8c87756a46ae3544e563793ce8c18efd1091d1
tree4e553a071dbc031feb6c9fd481c8565dd26a408a
parent2cc195e0a5690bf022631ae420767e5b91c37476
Fix a few gcc warnings.

Noticed while building all of mpc8xx. Also
constify usage string in timer.c
Warnings fixed are:
timer.c: In function 'timer':
timer.c:189: warning: format not a string literal and no format arguments
timer.c:258: warning: format not a string literal and no format arguments
atm.c: In function 'atmUnload':
atm.c:99: warning: array subscript is above array bounds
atm.c: In function 'atmLoad':
atm.c:65: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_pop_int':
codec.c:678: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_cop_short':
codec.c:585: warning: array subscript is above array bounds
codec.c: In function 'codsp_write_sop_int':
codec.c:512: warning: array subscript is above array bounds

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
board/netta/codec.c
board/siemens/IAD210/atm.c
examples/standalone/timer.c