summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorPeter Huewe2013-02-07 23:57:07 +0100
committerGreg Kroah-Hartman2013-02-08 02:16:07 +0100
commitb4fcf48a740fde8e5acb8e64ad0845fb2500dde4 (patch)
treeaa5e90d985a7316df3d5d2b43e5f4fd43dfeca5d /drivers/staging/comedi/comedi_fops.c
parentstaging: comedi: ni_daq_dio24: add back missing 'if (ret)' (diff)
downloadkernel-qcow2-linux-b4fcf48a740fde8e5acb8e64ad0845fb2500dde4.tar.gz
kernel-qcow2-linux-b4fcf48a740fde8e5acb8e64ad0845fb2500dde4.tar.xz
kernel-qcow2-linux-b4fcf48a740fde8e5acb8e64ad0845fb2500dde4.zip
staging/goldfish: Use %zx for printing size_t variables
When building the driver, gcc emits the following warnings: .../drivers/staging/goldfish/goldfish_nand.c: In function 'goldfish_nand_read_oob': goldfish_nand.c:159:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' [-Wformat] goldfish_nand.c:159:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat] In function 'goldfish_nand_write_oob': goldfish_nand.c:191:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' [-Wformat] goldfish_nand.c:191:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat] In function 'goldfish_nand_read': goldfish_nand.c:215:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' [-Wformat] In function 'goldfish_nand_write': goldfish_nand.c:239:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' [-Wformat] -> As defined in the printk-formats use %zx for size_t variables Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.c')
0 files changed, 0 insertions, 0 deletions