linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the md tree
@ 2017-03-28  4:40 Stephen Rothwell
  2017-03-28  8:17 ` Ming Lei
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2017-03-28  4:40 UTC (permalink / raw)
  To: Shaohua Li; +Cc: linux-next, linux-kernel, Ming Lei

Hi Shaohua,

After merging the md tree, today's linux-next build (powerpc
pseries_le_defconfig) produced this warning:

drivers/md/raid1.c: In function 'raid1d':
drivers/md/raid1.c:2172:9: warning: 'page_len$' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (memcmp(page_address(ppages[j]),
         ^
drivers/md/raid1.c:2160:7: note: 'page_len$' was declared here
   int page_len[RESYNC_PAGES];
       ^

Introduced by commit

  60928a91b0b3 ("md: raid1: use bio helper in process_checks()")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 4+ messages in thread
* linux-next: build warning after merge of the md tree
@ 2017-08-09  3:14 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2017-08-09  3:14 UTC (permalink / raw)
  To: Shaohua Li; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Song Liu

Hi Shaohua,

After merging the md tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/md/raid5-cache.c: In function 'r5c_journal_mode_show':
drivers/md/raid5-cache.c:2535:2: warning: ignoring return value of 'mddev_lock', declared with attribute warn_unused_result [-Wunused-result]
  mddev_lock(mddev);
  ^

Introduced by commit

  7f7abe0ec5bb ("md/r5cache: call mddev_lock/unlock() in r5c_journal_mode_show")

-- 
Cheers,
Stephen Rothwell

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

end of thread, other threads:[~2017-08-09  3:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28  4:40 linux-next: build warning after merge of the md tree Stephen Rothwell
2017-03-28  8:17 ` Ming Lei
2017-03-28 15:49   ` Shaohua Li
2017-08-09  3:14 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).