lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 30 Mar 2023 12:54:08 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Jason Gunthorpe <jgg@...dia.com>
Cc:     Jason Gunthorpe <jgg@...pe.ca>, Yi Liu <yi.l.liu@...el.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-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

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ