✗ Fi.CI.BUILD: warning for drm/i915: Add support for FBs with a POT aligned stride restriction

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 10 10:58:00 UTC 2021


== Series Details ==

Series: drm/i915: Add support for FBs with a POT aligned stride restriction
URL   : https://patchwork.freedesktop.org/series/87824/
State : warning

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/i915_vma.o
In file included from ./include/linux/printk.h:7,
                 from ./include/linux/kernel.h:16,
                 from ./include/linux/sched/mm.h:5,
                 from drivers/gpu/drm/i915/i915_vma.c:25:
drivers/gpu/drm/i915/selftests/i915_vma.c: In function ‘assert_rotated’:
./include/linux/kern_levels.h:5:18: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘dma_addr_t’ {aka ‘unsigned int’} [-Werror=format=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
 #define KERN_ERR KERN_SOH "3" /* error conditions */
                  ^~~~~~~~
./include/linux/printk.h:343:9: note: in expansion of macro ‘KERN_ERR’
  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         ^~~~~~~~
drivers/gpu/drm/i915/selftests/i915_vma.c:425:4: note: in expansion of macro ‘pr_err’
    pr_err("Invalid address, found %016llx, expected 0 for remapped page (%d, %d)\n",
    ^~~~~~
In file included from drivers/gpu/drm/i915/i915_vma.c:1385:
drivers/gpu/drm/i915/selftests/i915_vma.c:425:41: note: format string is defined here
    pr_err("Invalid address, found %016llx, expected 0 for remapped page (%d, %d)\n",
                                   ~~~~~~^
                                   %016x
In file included from ./include/linux/printk.h:7,
                 from ./include/linux/kernel.h:16,
                 from ./include/linux/sched/mm.h:5,
                 from drivers/gpu/drm/i915/i915_vma.c:25:
drivers/gpu/drm/i915/selftests/i915_vma.c: In function ‘assert_remapped’:
./include/linux/kern_levels.h:5:18: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘dma_addr_t’ {aka ‘unsigned int’} [-Werror=format=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
 #define KERN_ERR KERN_SOH "3" /* error conditions */
                  ^~~~~~~~
./include/linux/printk.h:343:9: note: in expansion of macro ‘KERN_ERR’
  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
         ^~~~~~~~
drivers/gpu/drm/i915/selftests/i915_vma.c:519:4: note: in expansion of macro ‘pr_err’
    pr_err("Invalid address, found %016llx, expected 0 for remapped page (%d, %d)\n",
    ^~~~~~
In file included from drivers/gpu/drm/i915/i915_vma.c:1385:
drivers/gpu/drm/i915/selftests/i915_vma.c:519:41: note: format string is defined here
    pr_err("Invalid address, found %016llx, expected 0 for remapped page (%d, %d)\n",
                                   ~~~~~~^
                                   %016x
cc1: all warnings being treated as errors
scripts/Makefile.build:271: recipe for target 'drivers/gpu/drm/i915/i915_vma.o' failed
make[4]: *** [drivers/gpu/drm/i915/i915_vma.o] Error 1
scripts/Makefile.build:514: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:514: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:514: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1849: recipe for target 'drivers' failed
make: *** [drivers] Error 2

== Logs ==

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


More information about the Intel-gfx-trybot mailing list