[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141105154826.24390751@canb.auug.org.au>
Date: Wed, 5 Nov 2014 15:48:26 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Hannes Reinecke <hare@...e.de>
Cc: James Bottomley <James.Bottomley@...senPartnership.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Robert Elliott <elliott@...com>, Christoph Hellwig <hch@....de>
Subject: Re: linux-next: build failure after merge of the scsi tree
Hi Hannes,
On Tue, 04 Nov 2014 08:07:51 +0100 Hannes Reinecke <hare@...e.de> wrote:
>
> On 11/04/2014 05:43 AM, Stephen Rothwell wrote:
> >
> > After merging the scsi tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> >
> > In file included from include/linux/sched.h:17:0, from
> > include/linux/blkdev.h:4, from drivers/scsi/constants.c:10:
> > drivers/scsi/constants.c: In function 'scsi_opcode_sa_name':
> > include/linux/kernel.h:54:32: error: invalid application of
> > 'sizeof' to incomplete type 'const char *[]' #define
> > ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) +
> > __must_be_array(arr)) ^ drivers/scsi/constants.c:300:15: note:
> > in expansion of macro 'ARRAY_SIZE' if (opcode <
> > ARRAY_SIZE(cdb_byte0_names)) ^
> >
> > Caused by 94bafab0008c ("scsi: consolidate opcode lookup in
> > scsi_opcode_sa_name()"). This build does not have
> > CONFIG_SCSI_CONSTANTS set.
> >
> > I have used the scsi tree from next-20141031 again (since
> > yesterday's tree had a different build problem).
> >
> Sorry. Here's the patch.
I applied that patch to linux-next today (pending James adding it to
the scsi tree).
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists