Re: linux-next: build failure after merge of the iommufd tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 12, 2024 at 03:58:42PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the iommufd tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/container_of.h:5,
>                  from include/linux/list.h:5,
>                  from include/linux/wait.h:7,
>                  from include/linux/wait_bit.h:8,
>                  from include/linux/fs.h:6,
>                  from drivers/iommu/iommufd/fault.c:7:
> drivers/iommu/iommufd/fault.c: In function 'iommufd_fault_fops_write':
> drivers/iommu/iommufd/fault.c:308:57: error: comparison between 'enum iommufd_page_response_code' and 'enum iommu_page_response_code' [-Werror=enum-compare]
>   308 |                 static_assert(IOMMUFD_PAGE_RESP_SUCCESS ==
>       |                                                         ^~

Oh my compiler didn't complain, I added some casts

Thanks,
Jason




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux