]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'
authorBrian Norris <computersforpeace@gmail.com>
Fri, 12 Feb 2016 20:26:04 +0000 (12:26 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 7 Mar 2016 21:13:58 +0000 (13:13 -0800)
commit3707b2c3d21f7c9f8c6aadba79ef012f0bbad10c
tree912985a53d0ebe06fe423053aa59ab3d1e971cb7
parentc67682c5e0a43bdcb049c7775b78200835f12b95
mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'

Fixes this warning:

>> drivers/mtd/bcm63xxpart.c:175:4: note: in expansion of macro 'pr_err'
       pr_err("invalid rootfs address: %*ph\n",
       ^
>> include/linux/kern_levels.h:4:18: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/bcm63xxpart.c