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

From: Stephen Rothwell
Date: Tue Aug 08 2017 - 23:15:18 EST


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