linux-next: build failure after merge of the drm-misc tree
Stephen Rothwell
sfr at canb.auug.org.au
Tue Feb 13 01:04:10 UTC 2024
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/gpu/drm/xe/xe_guc_submit.c: In function 'simple_error_capture':
drivers/gpu/drm/xe/xe_guc_submit.c:814:48: error: passing argument 1 of 'drm_err_printer' from incompatible pointer type [-Werror=incompatible-pointer-types]
814 | struct drm_printer p = drm_err_printer("");
| ^~
| |
| char *
In file included from drivers/gpu/drm/xe/xe_assert.h:11,
from drivers/gpu/drm/xe/xe_guc_submit.c:19:
include/drm/drm_print.h:349:69: note: expected 'struct drm_device *' but argument is of type 'char *'
349 | static inline struct drm_printer drm_err_printer(struct drm_device *drm,
| ~~~~~~~~~~~~~~~~~~~^~~
drivers/gpu/drm/xe/xe_guc_submit.c:814:32: error: too few arguments to function 'drm_err_printer'
814 | struct drm_printer p = drm_err_printer("");
| ^~~~~~~~~~~~~~~
include/drm/drm_print.h:349:34: note: declared here
349 | static inline struct drm_printer drm_err_printer(struct drm_device *drm,
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Caused by commit
5e0c04c8c40b ("drm/print: make drm_err_printer() device specific by using drm_err()")
I have used the drm-misc tree from next-20240209 again today.
--
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240213/98526f37/attachment.sig>
More information about the dri-devel
mailing list