Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hans Verkuil and committed by
Samuel Ortiz
4adedc57 9b8e1a5e

+1 -1
+1 -1
drivers/mfd/si476x-i2c.c
··· 389 389 kfifo_in(&core->rds_fifo, report.rds, 390 390 sizeof(report.rds)); 391 391 dev_dbg(&core->client->dev, "RDS data:\n %*ph\n", 392 - sizeof(report.rds), report.rds); 392 + (int)sizeof(report.rds), report.rds); 393 393 } 394 394 dev_dbg(&core->client->dev, "Drrrrained!\n"); 395 395 wake_up_interruptible(&core->rds_read_queue);