Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753523AbcCGVOt (ORCPT ); Mon, 7 Mar 2016 16:14:49 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33379 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751146AbcCGVOl (ORCPT ); Mon, 7 Mar 2016 16:14:41 -0500 Date: Mon, 7 Mar 2016 13:14:38 -0800 From: Brian Norris To: linux-mtd@lists.infradead.org Cc: Simon Arlott , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: bcm63xxpart: give width specifier an 'int', not 'size_t' Message-ID: <20160307211438.GA55664@google.com> References: <1455308764-47289-1-git-send-email-computersforpeace@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455308764-47289-1-git-send-email-computersforpeace@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 515 Lines: 12 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 > Signed-off-by: Brian Norris Applied