[driver-core:debugfs_cleanup 129/129] drivers/gpu//drm/sti/sti_compositor.c:55:9: warning: 'return' with a value, in function returning void
kbuild test robot
lkp at intel.com
Thu Jun 13 17:45:59 UTC 2019
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head: 9831e93ace88fcb51c013ceca0b097133c8efb5f
commit: 9831e93ace88fcb51c013ceca0b097133c8efb5f [129/129] drm: huge cleanup...
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9831e93ace88fcb51c013ceca0b097133c8efb5f
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu//drm/sti/sti_compositor.c: In function 'sti_compositor_debugfs_init':
>> drivers/gpu//drm/sti/sti_compositor.c:55:9: warning: 'return' with a value, in function returning void
return 0;
^
drivers/gpu//drm/sti/sti_compositor.c:42:6: note: declared here
void sti_compositor_debugfs_init(struct sti_compositor *compo,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/return +55 drivers/gpu//drm/sti/sti_compositor.c
d219673d Benjamin Gaignard 2014-07-30 41
9831e93a Greg Kroah-Hartman 2019-06-13 42 void sti_compositor_debugfs_init(struct sti_compositor *compo,
83af0a48 Benjamin Gaignard 2016-06-21 43 struct drm_minor *minor)
83af0a48 Benjamin Gaignard 2016-06-21 44 {
38fdb8d9 Vincent Abriou 2016-09-15 45 unsigned int i;
83af0a48 Benjamin Gaignard 2016-06-21 46
38fdb8d9 Vincent Abriou 2016-09-15 47 for (i = 0; i < STI_MAX_VID; i++)
38fdb8d9 Vincent Abriou 2016-09-15 48 if (compo->vid[i])
38fdb8d9 Vincent Abriou 2016-09-15 49 vid_debugfs_init(compo->vid[i], minor);
83af0a48 Benjamin Gaignard 2016-06-21 50
38fdb8d9 Vincent Abriou 2016-09-15 51 for (i = 0; i < STI_MAX_MIXER; i++)
38fdb8d9 Vincent Abriou 2016-09-15 52 if (compo->mixer[i])
38fdb8d9 Vincent Abriou 2016-09-15 53 sti_mixer_debugfs_init(compo->mixer[i], minor);
83af0a48 Benjamin Gaignard 2016-06-21 54
83af0a48 Benjamin Gaignard 2016-06-21 @55 return 0;
83af0a48 Benjamin Gaignard 2016-06-21 56 }
83af0a48 Benjamin Gaignard 2016-06-21 57
:::::: The code at line 55 was first introduced by commit
:::::: 83af0a483ac44594620ecae10a4d708b284972e1 drm: sti: use late_register and early_unregister callbacks
:::::: TO: Benjamin Gaignard <benjamin.gaignard at linaro.org>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>
---
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: 70966 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190614/4f1c4417/attachment-0001.bin>
More information about the devel
mailing list