Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610292

linux-next: build warning after merge of the md tree

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warning after merge of the md tree
Date 2017-03-28 06:50 +0200
Message-ID <tpReV-2lO-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the md tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-03-28 06:50 +0200
  Re: linux-next: build warning after merge of the md tree Ming Lei <tom.leiming@gmail.com> - 2017-03-28 10:20 +0200
    Re: linux-next: build warning after merge of the md tree Shaohua Li <shli@kernel.org> - 2017-03-28 18:00 +0200

csiph-web