== Series Details ==

Series: drm/i915: Check stolen memory size before calling drm_mm_init
URL   : https://patchwork.freedesktop.org/series/99917/
State : warning

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/gem/i915_gem_stolen.o
In file included from ./include/drm/drm_mm.h:51,
                 from drivers/gpu/drm/i915/gem/i915_gem_stolen.c:10:
drivers/gpu/drm/i915/gem/i915_gem_stolen.c: In function ‘i915_gem_init_stolen’:
drivers/gpu/drm/i915/gem/i915_gem_stolen.c:503:3: error: format ‘%llu’ expects 
argument of type ‘long long unsigned int’, but argument 5 has type 
‘resource_size_t’ {aka ‘unsigned int’} [-Werror=format=]
   "Memory reserved for graphics device: %lluK, usable: %lluK\n",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/gem/i915_gem_stolen.c:505:3:
   i915->stolen_usable_size >> 10);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drm/drm_print.h:461:56: note: in definition of macro ‘drm_dbg’
  drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
                                                        ^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:288: recipe for target 
'drivers/gpu/drm/i915/gem/i915_gem_stolen.o' failed
make[4]: *** [drivers/gpu/drm/i915/gem/i915_gem_stolen.o] Error 1
scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:550: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:550: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1831: recipe for target 'drivers' failed
make: *** [drivers] Error 2

== Logs ==

For more details see: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22226/build_32bit.log

Reply via email to