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

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

drivers/iommu/iommufd/hw_pagetable.c: In function 'iommufd_hwpt_alloc':
drivers/iommu/iommufd/hw_pagetable.c:135:33: error: passing argument 1 of 'iommufd_get_ioas' from incompatible pointer type [-Werror=incompatible-pointer-types]
135 | ioas = iommufd_get_ioas(ucmd, cmd->pt_id);
| ^~~~
| |
| struct iommufd_ucmd *
In file included from drivers/iommu/iommufd/hw_pagetable.c:8:
drivers/iommu/iommufd/iommufd_private.h:216:73: note: expected 'struct iommufd_ctx *' but argument is of type 'struct iommufd_ucmd *'
216 | static inline struct iommufd_ioas *iommufd_get_ioas(struct iommufd_ctx *ictx,
| ~~~~~~~~~~~~~~~~~~~~^~~~

Caused by commit

a7358b11764e ("iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas()")

interacting with commit

8295188cc9e6 ("iommufd: Add IOMMU_HWPT_ALLOC")

it should have been fixed up in the merge commit

085121c1d1bb ("Merge branch 'ko-iommufd/wip/for-nesting' into k.o-iommufd/for-next")

I have used the iommufd tree from next-20230329 for today.

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