[Intel-gfx] [PATCH 2/4] drm/i915: Add i915 to i915_inject_probe_failure
kbuild test robot
lkp at intel.com
Tue Jul 30 08:07:00 UTC 2019
Hi Michal,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to v5.3-rc2 next-20190730]
[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/Michal-Wajdeczko/add-more-probe-failures/20190730-060559
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/i915_drv.c: In function 'i915_driver_modeset_probe':
>> drivers/gpu/drm/i915/i915_drv.c:691:40: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(dev_priv))
^
In file included from drivers/gpu/drm/i915/display/intel_bw.h:11:0,
from drivers/gpu/drm/i915/i915_drv.c:52:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/i915_drv.c:691:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(dev_priv))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/i915_drv.c:691:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(dev_priv))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.c: In function 'i915_driver_early_probe':
drivers/gpu/drm/i915/i915_drv.c:898:40: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(dev_priv))
^
In file included from drivers/gpu/drm/i915/display/intel_bw.h:11:0,
from drivers/gpu/drm/i915/i915_drv.c:52:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
drivers/gpu/drm/i915/i915_drv.c:898:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(dev_priv))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.c: In function 'i915_driver_mmio_probe':
drivers/gpu/drm/i915/i915_drv.c:989:40: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(dev_priv))
^
In file included from drivers/gpu/drm/i915/display/intel_bw.h:11:0,
from drivers/gpu/drm/i915/i915_drv.c:52:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
drivers/gpu/drm/i915/i915_drv.c:989:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(dev_priv))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.c: In function 'i915_driver_hw_probe':
drivers/gpu/drm/i915/i915_drv.c:1534:40: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(dev_priv))
^
In file included from drivers/gpu/drm/i915/display/intel_bw.h:11:0,
from drivers/gpu/drm/i915/i915_drv.c:52:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
drivers/gpu/drm/i915/i915_drv.c:1534:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(dev_priv))
^~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/i915/i915_pci.c: In function 'i915_pci_probe':
>> drivers/gpu/drm/i915/i915_pci.c:961:62: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(to_i915(pci_get_drvdata(pdev)))) {
^
In file included from drivers/gpu/drm/i915/i915_pci.c:33:0:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/i915_pci.c:961:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(to_i915(pci_get_drvdata(pdev)))) {
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/i915_pci.c:961:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(to_i915(pci_get_drvdata(pdev)))) {
^~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/i915/gt/intel_engine_cs.c: In function 'intel_engines_init_mmio':
>> drivers/gpu/drm/i915/gt/intel_engine_cs.c:429:36: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(i915))
^
In file included from drivers/gpu/drm/i915/gt/intel_engine_cs.c:29:0:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/gt/intel_engine_cs.c:429:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/gt/intel_engine_cs.c:429:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_init':
>> drivers/gpu/drm/i915/i915_gem.c:1514:48: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
ret = i915_inject_load_error(dev_priv, -ENODEV);
^
>> drivers/gpu/drm/i915/i915_gem.c:1514:8: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
ret = i915_inject_load_error(dev_priv, -ENODEV);
^~~~~~~~~~~~~~~~~~~~~~
i915_gpu_error
drivers/gpu/drm/i915/i915_gem.c:1514:8: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/i915_gem.c:1518:45: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
ret = i915_inject_load_error(dev_priv, -EIO);
^
--
drivers/gpu/drm/i915/intel_uncore.c: In function '__fw_domain_init':
>> drivers/gpu/drm/i915/intel_uncore.c:1334:44: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(uncore->i915))
^
In file included from drivers/gpu/drm/i915/intel_uncore.c:27:0:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/intel_uncore.c:1334:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(uncore->i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/intel_uncore.c:1334:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(uncore->i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/i915/intel_wopcm.c: In function 'intel_wopcm_init':
>> drivers/gpu/drm/i915/intel_wopcm.c:180:36: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(i915))
^
In file included from drivers/gpu/drm/i915/intel_wopcm.c:8:0:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/intel_wopcm.c:180:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/intel_wopcm.c:180:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(i915))
^~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/i915/display/intel_connector.c: In function 'intel_connector_register':
>> drivers/gpu/drm/i915/display/intel_connector.c:121:55: error: macro "i915_inject_load_error" passed 2 arguments, but takes just 1
if (i915_inject_probe_failure(to_i915(connector->dev))) {
^
In file included from drivers/gpu/drm/i915/display/intel_connector.c:34:0:
>> drivers/gpu/drm/i915/i915_drv.h:138:41: error: 'i915_inject_load_error' undeclared (first use in this function); did you mean 'i915_gpu_error'?
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/display/intel_connector.c:121:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(to_i915(connector->dev))) {
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_drv.h:138:41: note: each undeclared identifier is reported only once for each function it appears in
#define i915_inject_probe_failure(i915) i915_inject_load_error((i915), -ENODEV)
^
>> drivers/gpu/drm/i915/display/intel_connector.c:121:6: note: in expansion of macro 'i915_inject_probe_failure'
if (i915_inject_probe_failure(to_i915(connector->dev))) {
^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/i915_inject_load_error +691 drivers/gpu/drm/i915/i915_drv.c
---
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: 27884 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190730/b69e607c/attachment-0001.gz>
More information about the Intel-gfx
mailing list