lkml.org 
[lkml]   [2021]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the pci tree
On Mon, Oct 18, 2021 at 09:55:25AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the pci tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> drivers/misc/cxl/pci.c: In function 'cxl_vphb_error_detected':
> drivers/misc/cxl/pci.c:1816:15: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
> 1816 | err_handler = afu_drv->err_handler;
> | ^
> drivers/misc/cxl/pci.c: In function 'cxl_pci_slot_reset':
> drivers/misc/cxl/pci.c:2041:16: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
> 2041 | err_handler = afu_drv->err_handler;
> | ^
> drivers/misc/cxl/pci.c: In function 'cxl_pci_resume':
> drivers/misc/cxl/pci.c:2090:16: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
> 2090 | err_handler = afu_drv->err_handler;
> | ^
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 115c9d41e583 ("cxl: Factor out common dev->driver expressions")
>
> I have used the pci tree from next-20211015 for today.

Sorry about this. I think I fixed it and updated my -next branch.

\
 
 \ /
  Last update: 2021-10-18 16:26    [W:0.025 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site