[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Expose more GPU properties through sysfs

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 16 16:03:39 UTC 2017


== Series Details ==

Series: drm/i915: Expose more GPU properties through sysfs
URL   : https://patchwork.freedesktop.org/series/33950/
State : failure

== Summary ==

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC [M]  drivers/gpu/drm/i915/i915_sysfs.o
drivers/gpu/drm/i915/i915_sysfs.c: In function ‘i915_setup_topology_sysfs’:
drivers/gpu/drm/i915/i915_sysfs.c:644:2: error: ignoring return value of ‘kobject_init_and_add’, declared with attribute warn_unused_result [-Werror=unused-result]
  kobject_init_and_add(&topology_kobj->kobj,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         &topology_type,
         ~~~~~~~~~~~~~~~
         &dev_priv->drm.primary->kdev->kobj,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         "topology");
         ~~~~~~~~~~~
drivers/gpu/drm/i915/i915_sysfs.c:659:3: error: ignoring return value of ‘kobject_init_and_add’, declared with attribute warn_unused_result [-Werror=unused-result]
   kobject_init_and_add(&slice_kobj->kobj,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          &slice_type,
          ~~~~~~~~~~~~
          &topology_kobj->kobj,
          ~~~~~~~~~~~~~~~~~~~~~
          "slice%i", s);
          ~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_sysfs.c:675:4: error: ignoring return value of ‘kobject_init_and_add’, declared with attribute warn_unused_result [-Werror=unused-result]
    kobject_init_and_add(&subslice_kobj->kobj,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           &subslice_type,
           ~~~~~~~~~~~~~~~
           &slice_kobj->kobj,
           ~~~~~~~~~~~~~~~~~~
           "subslice%i", ss);
           ~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_sysfs.c: In function ‘i915_setup_engines_sysfs’:
drivers/gpu/drm/i915/i915_sysfs.c:758:2: error: ignoring return value of ‘kobject_init_and_add’, declared with attribute warn_unused_result [-Werror=unused-result]
  kobject_init_and_add(&dev_priv->topology.engines_kobj,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         dev_priv->drm.primary->kdev->kobj.ktype,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         &dev_priv->drm.primary->kdev->kobj,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         "engines");
         ~~~~~~~~~~
drivers/gpu/drm/i915/i915_sysfs.c:766:3: error: ignoring return value of ‘kobject_init_and_add’, declared with attribute warn_unused_result [-Werror=unused-result]
   kobject_init_and_add(&engine->kobj, &engine_type,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          &dev_priv->topology.engines_kobj,
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          engine->name);
          ~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:314: recipe for target 'drivers/gpu/drm/i915/i915_sysfs.o' failed
make[4]: *** [drivers/gpu/drm/i915/i915_sysfs.o] Error 1
scripts/Makefile.build:573: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:573: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:573: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1024: recipe for target 'drivers' failed
make: *** [drivers] Error 2



More information about the Intel-gfx mailing list