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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+HBbNHia9X+9LcR2oOJ+q9RhCaknTH+EZOu44FNo1TS9o9VhQ@mail.gmail.com>
Date: Thu, 16 Jan 2025 10:13:52 +0100
From: Robert Marko <robert.marko@...tura.hr>
To: Pranjal Shrivastava <praan@...gle.com>
Cc: will@...nel.org, robin.murphy@....com, joro@...tes.org, jgg@...pe.ca, 
	nicolinc@...dia.com, linux-arm-kernel@...ts.infradead.org, 
	iommu@...ts.linux.dev, linux-kernel@...r.kernel.org, luka.perkov@...tura.hr, 
	kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] iommu/arm-smmu-v3: add missing header

On Thu, Jan 16, 2025 at 4:09 AM Pranjal Shrivastava <praan@...gle.com> wrote:
>
> On Tue, Jan 14, 2025 at 05:05:56PM +0100, Robert Marko wrote:
> > str_read_write is currently undeclared and thus compilation will fail with:
> > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:1911:25: error: implicit declaration of function ‘str_read_write’; did you mean ‘sb_end_write’? [-Wimplicit-function-declaration]
> >
> > So include the missing linux/string_choices.h header to fix compilation.
> >
> > Fixes: f2c77f6e41e6 ("iommu/arm-smmu-v3: Use str_read_write helper w/ logs")
> > Reported-by: kernel test robot <lkp@...el.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202501111926.qOpnlK9J-lkp@intel.com/
> > Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> > ---
> >  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
> > index 0e4cbb2c64d7..a0e395da8a88 100644
> > --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
> > +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
> > @@ -26,6 +26,7 @@
> >  #include <linux/pci.h>
> >  #include <linux/pci-ats.h>
> >  #include <linux/platform_device.h>
> > +#include <linux/string_choices.h>
> >  #include <kunit/visibility.h>
> >  #include <uapi/linux/iommufd.h>
>
> Hi Robert,
>
> This fix has already been merged to the arm/smmu/updates branch [1]
> which should appear in -next when Joerg next rebuilds the branch.

Hi Praan,
I looked for an existing fix but couldn't find it before sending it.
Glad that it was already fixed, please ignore this patch then.

Regards,
Robert
>
> Thanks,
> Praan
>
> [1]
> https://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git/commit/?h=arm/smmu/updates
>
> >
> > --
> > 2.47.1
> >
> >



-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura d.d.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@...tura.hr
Web: www.sartura.hr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ