linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the l2-mtd tree
@ 2011-11-29  3:33 Stephen Rothwell
  2011-11-29  9:54 ` Robert Jarzmik
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2011-11-29  3:33 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: linux-next, linux-kernel, Robert Jarzmik

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

Hi Artem,

After merging the l2-mtd tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/mtd/devices/docg3.c: In function 'doc_write_page_ecc_init':
drivers/mtd/devices/docg3.c:577:6: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses]

Introduced by commit 496a5fc59dae ("mtd/docg3: add write functions").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* linux-next: build warning after merge of the l2-mtd tree
@ 2017-06-23  1:32 Stephen Rothwell
  2017-06-23  4:56 ` Rafał Miłecki
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2017-06-23  1:32 UTC (permalink / raw)
  To: Brian Norris
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Rafał Miłecki

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* linux-next: build warning after merge of the l2-mtd tree
@ 2017-07-24  1:48 Stephen Rothwell
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Rothwell @ 2017-07-24  1:48 UTC (permalink / raw)
  To: Brian Norris
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Mario Rugiero

Hi Brian,

After merging the l2-mtd tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs':
drivers/mtd/mtdswap.c:1317:17: warning: unused variable 'dev' [-Wunused-variable]
  struct device *dev = disk_to_dev(gd);
                 ^

Introduced by commit

  e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-24  1:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-29  3:33 linux-next: build warning after merge of the l2-mtd tree Stephen Rothwell
2011-11-29  9:54 ` Robert Jarzmik
2017-06-23  1:32 Stephen Rothwell
2017-06-23  4:56 ` Rafał Miłecki
2017-06-23 17:59   ` Brian Norris
2017-07-24  1:48 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).