Re: [PATCH] mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'

From: Brian Norris
Date: Mon Mar 07 2016 - 16:14:51 EST


On Fri, Feb 12, 2016 at 12:26:04PM -0800, Brian Norris wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx>

Applied