Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754127AbdFWBcK (ORCPT ); Thu, 22 Jun 2017 21:32:10 -0400 Received: from ozlabs.org ([103.22.144.67]:57197 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753833AbdFWBcJ (ORCPT ); Thu, 22 Jun 2017 21:32:09 -0400 Date: Fri, 23 Jun 2017 11:32:06 +1000 From: Stephen Rothwell To: Brian Norris Cc: Linux-Next Mailing List , Linux Kernel Mailing List , =?UTF-8?B?UmFmYcWCIE1pxYJl?= =?UTF-8?B?Y2tp?= Subject: linux-next: build warning after merge of the l2-mtd tree Message-ID: <20170623113206.29042011@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 31 Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from drivers/mtd/parsers/parser_trx.c:12: drivers/mtd/parsers/parser_trx.c: In function 'parser_trx_data_part_name': include/linux/kern_levels.h:4:18: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^ include/linux/printk.h:301:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^ drivers/mtd/parsers/parser_trx.c:42:3: note: in expansion of macro 'pr_err' pr_err("mtd_read error while parsing (offset: 0x%X): %d\n", ^ Introduced by commit 99352afe8f16 ("mtd: extract TRX parser out of bcm47xxpart into a separated module") -- Cheers, Stephen Rothwell