[Intel-gfx] ✗ Fi.CI.BUILD: warning for drm/i915/execlists: Leave tell-tales as to why pending[] is bad
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 9 16:42:01 UTC 2019
== Series Details ==
Series: drm/i915/execlists: Leave tell-tales as to why pending[] is bad
URL : https://patchwork.freedesktop.org/series/67786/
State : warning
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
AR drivers/gpu/drm/i915/built-in.a
CC [M] drivers/gpu/drm/i915/gt/intel_lrc.o
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from ./include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c: In function ‘assert_pending_valid’:
./include/linux/kern_levels.h:5:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘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:304:9: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:33: note: in expansion of macro ‘pr_err’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:50: note: format string is defined here
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
~~^
%d
In file included from ./include/linux/interrupt.h:6:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:679:33: note: in definition of macro ‘__trace_printk_check_format’
____trace_printk_check_format(fmt, ##args); \
^~~
./include/linux/kernel.h:716:3: note: in expansion of macro ‘do_trace_printk’
do_trace_printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:732:29: note: in definition of macro ‘do_trace_printk’
__trace_printk(_THIS_IP_, fmt, ##args); \
^~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1154:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Duplicate context in pending[%ld]\n",
^~~~~~~~~~~~~
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from ./include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
./include/linux/kern_levels.h:5:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘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:304:9: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:33: note: in expansion of macro ‘pr_err’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:49: note: format string is defined here
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
~~^
%d
In file included from ./include/linux/interrupt.h:6:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:679:33: note: in definition of macro ‘__trace_printk_check_format’
____trace_printk_check_format(fmt, ##args); \
^~~
./include/linux/kernel.h:716:3: note: in expansion of macro ‘do_trace_printk’
do_trace_printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:732:29: note: in definition of macro ‘do_trace_printk’
__trace_printk(_THIS_IP_, fmt, ##args); \
^~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1164:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Inactive context in pending[%ld]\n",
^~~~~~~~~~~~~
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from ./include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
./include/linux/kern_levels.h:5:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘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:304:9: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:33: note: in expansion of macro ‘pr_err’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:49: note: format string is defined here
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
~~^
%d
In file included from ./include/linux/interrupt.h:6:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:679:33: note: in definition of macro ‘__trace_printk_check_format’
____trace_printk_check_format(fmt, ##args); \
^~~
./include/linux/kernel.h:716:3: note: in expansion of macro ‘do_trace_printk’
do_trace_printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:732:29: note: in definition of macro ‘do_trace_printk’
__trace_printk(_THIS_IP_, fmt, ##args); \
^~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1170:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned context in pending[%ld]\n",
^~~~~~~~~~~~~
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from ./include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
./include/linux/kern_levels.h:5:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘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:304:9: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:33: note: in expansion of macro ‘pr_err’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:52: note: format string is defined here
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
~~^
%d
In file included from ./include/linux/interrupt.h:6:0,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:679:33: note: in definition of macro ‘__trace_printk_check_format’
____trace_printk_check_format(fmt, ##args); \
^~~
./include/linux/kernel.h:716:3: note: in expansion of macro ‘do_trace_printk’
do_trace_printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~~~~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
^~~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:18: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Werror=format=]
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
^
port - execlists->pending);
~~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:732:29: note: in definition of macro ‘do_trace_printk’
__trace_printk(_THIS_IP_, fmt, ##args); \
^~~
./drivers/gpu/drm/i915/i915_gem.h:67:54: note: in expansion of macro ‘trace_printk’
#define GEM_TRACE_ERR(...) do { pr_err(__VA_ARGS__); trace_printk(__VA_ARGS__); } while (0)
^~~~~~~~~~~~
drivers/gpu/drm/i915/gt/intel_lrc.c:1176:4: note: in expansion of macro ‘GEM_TRACE_ERR’
GEM_TRACE_ERR("Unpinned ringbuffer in pending[%ld]\n",
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:265: recipe for target 'drivers/gpu/drm/i915/gt/intel_lrc.o' failed
make[4]: *** [drivers/gpu/drm/i915/gt/intel_lrc.o] Error 1
scripts/Makefile.build:509: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:509: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1650: recipe for target 'drivers' failed
make: *** [drivers] Error 2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14726/build_32bit.log
More information about the Intel-gfx
mailing list