[dm-devel] [PATCH 09/11] block: Expose queue nr_zones in sysfs

kbuild test robot lkp at intel.com
Wed Oct 10 14:05:31 UTC 2018


Hi Damien,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on block/for-next]
[also build test ERROR on v4.19-rc7 next-20181010]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Damien-Le-Moal/Zoned-block-device-support-improvements/20181010-190504
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-randconfig-x000-201840 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   block/blk-sysfs.c: In function 'queue_nr_zones_show':
>> block/blk-sysfs.c:305:27: error: 'struct request_queue' has no member named 'nr_zones'; did you mean 'nr_rqs'?
     return queue_var_show(q->nr_zones, page);
                              ^~~~~~~~
                              nr_rqs
>> block/blk-sysfs.c:306:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +305 block/blk-sysfs.c

   302	
   303	static ssize_t queue_nr_zones_show(struct request_queue *q, char *page)
   304	{
 > 305		return queue_var_show(q->nr_zones, page);
 > 306	}
   307	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 29768 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20181010/5cdab1fc/attachment.gz>


More information about the dm-devel mailing list