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: <Y3IDjSYTeC0xt/Cw@kroah.com>
Date:   Mon, 14 Nov 2022 09:59:57 +0100
From:   Greg KH <greg@...ah.com>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the driver-core tree

On Mon, Nov 14, 2022 at 10:46:02AM +0200, Andy Shevchenko wrote:
> On Mon, Nov 14, 2022 at 03:12:35PM +1100, Stephen Rothwell wrote:
> > Hi all,
> > 
> > After merging the driver-core tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > drivers/mfd/vexpress-sysreg.c:64:51: error: initializer element is not constant
> >    64 |                 .resources = (struct resource []) {
> >       |                                                   ^
> > drivers/mfd/vexpress-sysreg.c:64:51: note: (near initialization for 'vexpress_sysreg_cells[0]')
> > drivers/mfd/vexpress-sysreg.c:73:51: error: initializer element is not constant
> >    73 |                 .resources = (struct resource []) {
> >       |                                                   ^
> > drivers/mfd/vexpress-sysreg.c:73:51: note: (near initialization for 'vexpress_sysreg_cells[1]')
> > drivers/mfd/vexpress-sysreg.c:82:51: error: initializer element is not constant
> >    82 |                 .resources = (struct resource []) {
> >       |                                                   ^
> > drivers/mfd/vexpress-sysreg.c:82:51: note: (near initialization for 'vexpress_sysreg_cells[2]')
> > drivers/mfd/vexpress-sysreg.c:90:51: error: initializer element is not constant
> >    90 |                 .resources = (struct resource []) {
> >       |                                                   ^
> > drivers/mfd/vexpress-sysreg.c:90:51: note: (near initialization for 'vexpress_sysreg_cells[3]')
> > 
> > Caused (probably) by commit
> > 
> >   52c4d11f1dce ("resource: Convert DEFINE_RES_NAMED() to be compound literal")
> > 
> > I have used the driver-core tree from next-20221111 for today.
> 
> Fix is available here:
> https://lore.kernel.org/lkml/20221113191027.2327-1-andriy.shevchenko@linux.intel.com/

Thanks, I'll pick that up now.

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ