tree: https://github.com/ceph/ceph-client.git wip-jd-testing head: b30d14ef6fac95de4cbe9831c39bc31cef679411 commit: b30d14ef6fac95de4cbe9831c39bc31cef679411 [2/2] [DNM] nbd: dynamically update bdev size config: um-x86_64_defconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout b30d14ef6fac95de4cbe9831c39bc31cef679411 # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones prefixed by >>): drivers/block/nbd.c: In function 'nbd_size_update': >> drivers/block/nbd.c:237:15: error: 'bdev' undeclared (first use in this function); did you mean 'cdev'? bd_set_size(bdev, config->bytesize); ^~~~ cdev drivers/block/nbd.c:237:15: note: each undeclared identifier is reported only once for each function it appears in vim +237 drivers/block/nbd.c 230 231 static void nbd_size_update(struct nbd_device *nbd) 232 { 233 struct nbd_config *config = nbd->config; 234 blk_queue_logical_block_size(nbd->disk->queue, config->blksize); 235 blk_queue_physical_block_size(nbd->disk->queue, config->blksize); 236 if (nbd->task_recv != NULL) > 237 bd_set_size(bdev, config->bytesize); 238 set_capacity(nbd->disk, config->bytesize >> 9); 239 kobject_uevent(&nbd_to_dev(nbd)->kobj, KOBJ_CHANGE); 240 } 241 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip