tree: git://git.cmpxchg.org/linux-mmotm.git master head: f5ef1cb6700e8b570adae945b1e0bd4ab95d8a26 commit: a58c5788f373a7a45532d5b02ae3b0173d4273e7 [51/95] mm,vmscan: mark register_shrinker() as __must_check config: i386-randconfig-i0-201747 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: git checkout a58c5788f373a7a45532d5b02ae3b0173d4273e7 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/md/bcache/btree.c: In function 'bch_btree_cache_alloc': >> drivers/md/bcache/btree.c:810:2: warning: ignoring return value of 'register_shrinker', declared with attribute warn_unused_result [-Wunused-result] register_shrinker(&c->shrink); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/register_shrinker +810 drivers/md/bcache/btree.c cafe5635 Kent Overstreet 2013-03-23 805 7dc19d5a Dave Chinner 2013-08-28 806 c->shrink.count_objects = bch_mca_count; 7dc19d5a Dave Chinner 2013-08-28 807 c->shrink.scan_objects = bch_mca_scan; cafe5635 Kent Overstreet 2013-03-23 808 c->shrink.seeks = 4; cafe5635 Kent Overstreet 2013-03-23 809 c->shrink.batch = c->btree_pages * 2; cafe5635 Kent Overstreet 2013-03-23 @810 register_shrinker(&c->shrink); cafe5635 Kent Overstreet 2013-03-23 811 cafe5635 Kent Overstreet 2013-03-23 812 return 0; cafe5635 Kent Overstreet 2013-03-23 813 } cafe5635 Kent Overstreet 2013-03-23 814 :::::: The code at line 810 was first introduced by commit :::::: cafe563591446cf80bfbc2fe3bc72a2e36cf1060 bcache: A block layer cache :::::: TO: Kent Overstreet <koverstreet@xxxxxxxxxx> :::::: CC: Kent Overstreet <koverstreet@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip