[PATCH v2 5/5] staging: unisys: visorbus: rename create_visor_device gotos
kbuild test robot
lkp at intel.com
Fri Mar 11 22:08:02 UTC 2016
Hi David,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20160311]
[cannot apply to v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/David-Kershner/staging-unisys-visorbus-cleanup-gotos-in-visorbus_main-c/20160312-055324
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
drivers/staging/unisys/visorbus/visorbus_main.c: In function 'create_visor_device':
>> drivers/staging/unisys/visorbus/visorbus_main.c:839:9: error: 'rc' undeclared (first use in this function)
return rc;
^
drivers/staging/unisys/visorbus/visorbus_main.c:839:9: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/staging/unisys/visorbus/visorbus_main.c:840:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +/rc +839 drivers/staging/unisys/visorbus/visorbus_main.c
3703987cd Erik Arfvidson 2015-05-05 833
a298bc0b5 Don Zickus 2015-06-04 834 list_add_tail(&dev->list_all, &list_all_device_instances);
7c2a06c70 David Kershner 2016-03-11 835 return 0; /* success: reference kept via unmatched get_device() */
3703987cd Erik Arfvidson 2015-05-05 836
7c2a06c70 David Kershner 2016-03-11 837 err_put:
3703987cd Erik Arfvidson 2015-05-05 838 put_device(&dev->device);
3703987cd Erik Arfvidson 2015-05-05 @839 return rc;
3703987cd Erik Arfvidson 2015-05-05 @840 }
3703987cd Erik Arfvidson 2015-05-05 841
3703987cd Erik Arfvidson 2015-05-05 842 static void
3703987cd Erik Arfvidson 2015-05-05 843 remove_visor_device(struct visor_device *dev)
:::::: The code at line 839 was first introduced by commit
:::::: 3703987cd427ca4ca1c7e98308be7f3036007a37 staging: unisys: add visorbus driver
:::::: TO: Erik Arfvidson <erik.arfvidson at unisys.com>
:::::: CC: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
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/octet-stream
Size: 53214 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20160312/025a8ebe/attachment-0001.obj>
More information about the devel
mailing list