linux-next: build warnings after merge of the regmap tree

From: Stephen Rothwell
Date: Mon Aug 08 2011 - 23:21:26 EST


Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) produced these warning:

drivers/base/regmap/regmap-debugfs.c: In function 'regmap_map_read_file':
drivers/base/regmap/regmap-debugfs.c:71:6: warning: field precision should have type 'int', but argument 4 has type 'size_t'
drivers/base/regmap/regmap-debugfs.c:78:7: warning: field precision should have type 'int', but argument 4 has type 'size_t'

Introduced by commit 31244e396fa9 ("regmap: Provide register map dump via
debugfs").

In file included from include/trace/ftrace.h:296:0,
from include/trace/define_trace.h:96,
from include/trace/events/regmap.h:112,
from drivers/base/regmap/regmap.c:19:
include/trace/events/regmap.h: In function 'ftrace_raw_output_regmap_block':
include/trace/events/regmap.h:58:1: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

Introduced by commit fb2736bbaee0 ("regmap: Add basic tracepoints").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature