remoteproc: fix print format warnings
commite981f6d41acda2ae8c05e60feb2cb97772b4a6e6
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Sun, 10 Jun 2012 11:37:07 +0000 (10 14:37 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 10 Jun 2012 11:49:39 +0000 (10 14:49 +0300)
tree5b6167e9ce69baf95b4cb2ae1165944106788c23
parentcfaf025112d3856637ff34a767ef785ef5cf2ca9
remoteproc: fix print format warnings

Fix compile warnings from GCC 4.6.1 when printing values of type size_t.

drivers/remoteproc/remoteproc_core.c:251:6:
warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 4 has type ‘size_t’ [-Wformat]
drivers/remoteproc/remoteproc_core.c:938:9:
warning: format ‘%u’ expects argument of type ‘unsigned int’,
but argument 4 has type ‘size_t’ [-Wformat]
drivers/remoteproc/remoteproc_core.c:1023:2:
warning: format ‘%d’ expects argument of type ‘int’,
but argument 4 has type ‘size_t’ [-Wformat]

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: stable@vger.kernel.org
drivers/remoteproc/remoteproc_core.c