Re: [PATCH v2] block/floppy.c: handle blk_register_region() return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vishnu,

[auto build test ERROR on block/for-next]
[also build test ERROR on v4.3 next-20151110]

url:    https://github.com/0day-ci/linux/commits/Vishnu-Pratap-Singh/block-floppy-c-handle-blk_register_region-return-value/20151110-112959
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-rhel (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/block/floppy.c: In function 'do_floppy_init':
>> drivers/block/floppy.c:4222:6: error: void value not ignored as it ought to be
     err = blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
         ^

vim +4222 drivers/block/floppy.c

  4216			goto out_put_disk;
  4217	
  4218		err = platform_driver_register(&floppy_driver);
  4219		if (err)
  4220			goto out_unreg_blkdev;
  4221	
> 4222		err = blk_register_region(MKDEV(FLOPPY_MAJOR, 0), 256, THIS_MODULE,
  4223				    floppy_find, NULL, NULL);
  4224		if (err)
  4225			goto out_driver_unregister;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux