diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2013-04-19 18:40:05 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-19 18:40:05 +0200 |
commit | 4adedc57e0fd2a6efa6a7d84405b8d5c2a956c3d (patch) | |
tree | b54d7d9802ad57e80930c9610e3188b6f18087a0 /drivers/mfd | |
parent | 9b8e1a5e4670b3b24c0e35c0884b4185f17fceab (diff) | |
download | blackbird-op-linux-4adedc57e0fd2a6efa6a7d84405b8d5c2a956c3d.tar.gz blackbird-op-linux-4adedc57e0fd2a6efa6a7d84405b8d5c2a956c3d.zip |
mfd: si476x: Fix i2c warning
drivers/mfd/si476x-i2c.c: In function ‘si476x_core_drain_rds_fifo’:
drivers/mfd/si476x-i2c.c:391:4: warning: field width specifier ‘*’ expects
+argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
Acked-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/si476x-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/si476x-i2c.c b/drivers/mfd/si476x-i2c.c index 118c6b13d8cb..f5bc8e4bd4bf 100644 --- a/drivers/mfd/si476x-i2c.c +++ b/drivers/mfd/si476x-i2c.c @@ -389,7 +389,7 @@ static void si476x_core_drain_rds_fifo(struct work_struct *work) kfifo_in(&core->rds_fifo, report.rds, sizeof(report.rds)); dev_dbg(&core->client->dev, "RDS data:\n %*ph\n", - sizeof(report.rds), report.rds); + (int)sizeof(report.rds), report.rds); } dev_dbg(&core->client->dev, "Drrrrained!\n"); wake_up_interruptible(&core->rds_read_queue); |