Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Aug 9, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell