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

2017-08-08 Thread Stephen Rothwell
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_res

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

2017-03-28 Thread Shaohua Li
On Tue, Mar 28, 2017 at 04:17:55PM +0800, Ming Lei wrote: > Hi, > > On Tue, Mar 28, 2017 at 03:40:22PM +1100, Stephen Rothwell wrote: > > Hi Shaohua, > > > > After merging the md tree, today's linux-next build (powerpc > > pseries_le_defconfig) produced this warning: > > > > drivers/md/raid1.c:

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

2017-03-28 Thread Ming Lei
Hi, On Tue, Mar 28, 2017 at 03:40:22PM +1100, Stephen Rothwell wrote: > 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

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

2017-03-27 Thread Stephen Rothwell
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_