lkml.org 
[lkml]   [2023]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build failure after merge of the drm-msm tree
Hi all,

After merging the drm-msm tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/msm/msm_drv.c:59:1: error: data definition has no type or storage class [-Werror]
59 | DECLARE_FAULT_ATTR(fail_gem_alloc);
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/msm/msm_drv.c:59:1: error: type defaults to 'int' in declaration of 'DECLARE_FAULT_ATTR' [-Werror=implicit-int]
drivers/gpu/drm/msm/msm_drv.c:59:1: error: parameter names (without types) in function declaration [-Werror]
drivers/gpu/drm/msm/msm_drv.c:60:1: error: data definition has no type or storage class [-Werror]
60 | DECLARE_FAULT_ATTR(fail_gem_iova);
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/msm/msm_drv.c:60:1: error: type defaults to 'int' in declaration of 'DECLARE_FAULT_ATTR' [-Werror=implicit-int]
drivers/gpu/drm/msm/msm_drv.c:60:1: error: parameter names (without types) in function declaration [-Werror]
drivers/gpu/drm/msm/msm_drv.c: In function 'msm_ioctl_gem_new':
drivers/gpu/drm/msm/msm_drv.c:454:13: error: implicit declaration of function 'should_fail' [-Werror=implicit-function-declaration]
454 | if (should_fail(&fail_gem_alloc, args->size))
| ^~~~~~~~~~~
cc1: all warnings being treated as errors

Presumably caused by commit

506efcba3129 ("drm/msm: carve out KMS code from msm_drv.c")

I have used the drm-msm tree from next-20231009 for today.

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-10-10 03:56    [W:0.023 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site