Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1351992

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

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mtd: bcm63xxpart: give width specifier an 'int', not 'size_t'
Date 2016-03-07 22:20 +0100
Message-ID <raaJk-8cF-9@gated-at.bofh.it> (permalink)
References <r1svM-3ox-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@intel.com>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Applied

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] mtd: bcm63xxpart: give width specifier an 'int', not  'size_t' Brian Norris <computersforpeace@gmail.com> - 2016-03-07 22:20 +0100

csiph-web