public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Brian Norris <computersforpeace@gmail•com>
Cc: "Linux-Next Mailing List" <linux-next@vger•kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger•kernel.org>,
	"Rafał Miłecki" <rafal@milecki•pl>
Subject: linux-next: build warning after merge of the l2-mtd tree
Date: Fri, 23 Jun 2017 11:32:06 +1000	[thread overview]
Message-ID: <20170623113206.29042011@canb.auug.org.au> (raw)

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

             reply	other threads:[~2017-06-23  1:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23  1:32 Stephen Rothwell [this message]
2017-06-23  4:56 ` linux-next: build warning after merge of the l2-mtd tree Rafał Miłecki
2017-06-23 17:59   ` Brian Norris
  -- strict thread matches above, loose matches on Subject: below --
2017-07-24  1:48 Stephen Rothwell
2011-11-29  3:33 Stephen Rothwell
2011-11-29  9:54 ` Robert Jarzmik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170623113206.29042011@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=computersforpeace@gmail$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=rafal@milecki$(echo .)pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox