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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+HBbNEUBYwTDRgpt3CAb_ArbpVaPpRZYEeJ2YmZe=R1ZSOecQ@mail.gmail.com>
Date:   Thu, 4 Nov 2021 15:09:41 +0100
From:   Robert Marko <robert.marko@...tura.hr>
To:     Lee Jones <lee.jones@...aro.org>
Cc:     Tyler Hicks <tyhicks@...ux.microsoft.com>,
        Alistair Francis <alistair@...stair23.me>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: simple-mfd-i2c: Fix linker error due to new mfd-core dependency

On Thu, Nov 4, 2021 at 3:09 PM Lee Jones <lee.jones@...aro.org> wrote:
>
> On Thu, 04 Nov 2021, Robert Marko wrote:
>
> > On Thu, Nov 4, 2021 at 2:53 PM Tyler Hicks <tyhicks@...ux.microsoft.com> wrote:
> > >
> > > On 2021-11-04 08:24:28, Lee Jones wrote:
> > > > On Wed, 03 Nov 2021, Tyler Hicks wrote:
> > > >
> > > > > Select CONFIG_MFD_CORE from CONFIG_MFD_SIMPLE_MFD_I2C, now that
> > > > > simple-mfd-i2c.c calls devm_mfd_add_devices(), to fix the following
> > > > > linker error:
> > > > >
> > > > >  ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe':
> > > > >  simple-mfd-i2c.c:(.text+0x62): undefined reference to `devm_mfd_add_devices'
> > > > >  make: *** [Makefile:1187: vmlinux] Error 1
> > > > >
> > > > > Fixes: c753ea31781a ("mfd: simple-mfd-i2c: Add support for registering devices via MFD cells")
> > > > > Cc: stable@...r.kernel.org # 5.15.x
> > > > > Signed-off-by: Tyler Hicks <tyhicks@...ux.microsoft.com>
> > > > > ---
> > > > >  drivers/mfd/Kconfig | 1 +
> > > > >  1 file changed, 1 insertion(+)
> > > >
> > > > Looks like the same change that has already been applied.
> > > >
> > > > Could you rebase on top of the MFD tree please?
> > >
> > > Ah, that commit wasn't in for-mfd-next when I wrote up this patch
> > > yesterday.
> > >
> > > I think that the Fixes line in that patch is wrong as I didn't see this
> > > issue in 5.10 and reverting c753ea31781a fixes the build failure.
> >
> > Hi Tyler, I would agree with you on the fixes tag.
> > I messed that one up, c753ea31781a is the correct one.
>
> All good.  I fixed it for you.

Thanks, sorry for the mess up.

Regards,
Robert
>
> --
> Lee Jones [李琼斯]
> Senior Technical Lead - Developer Services
> Linaro.org │ Open source software for Arm SoCs
> Follow Linaro: Facebook | Twitter | Blog



-- 
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
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