2016-03-07 21:14:49

by Brian Norris

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

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 <[email protected]>
> Signed-off-by: Brian Norris <[email protected]>

Applied