Subject: Re: linux-next: build failure after merge of the scsi tree

From: James Bottomley <[email-masked]>
Date: Tue, 02 Jun 2015 08:02:34 -0700

On Tue, 2015-06-02 at 18:06 +1000, Stephen Rothwell wrote:
> Hi James,
> 
> After merging the scsi tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/usb/gadget/function/f_mass_storage.c:280:12: error: 'MAX_COMMAND_SIZE' undeclared here (not in a function)
>   u8   cmnd[MAX_COMMAND_SIZE];
>             ^
> 
> Caused by commit 0e640c799103 ("Replace MAX_COMMAND_SIZE with BLK_MAX_CDB").
> 
> I have used the scsi tree from next-20150601 for today.

Hm, yes, the commit causes a dependency on blkdev.h but doesn't pull it
in.  I'll drop it for a resubmit.

James