Re: [PATCH] usb: Fix microtek driver compilation errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 06, 2017 at 02:18:10PM +0200, Mariusz Skamra wrote:
> This fixes compilation errors due to missing scsi_cmnd.h include.
> 
> usb/image/microtek.c: In function ‘mts_slave_alloc’:
> usb/image/microtek.c:326:3: error: dereferencing pointer to incomplete type
>   s->inquiry_len = 0x24;
>    ^
> usb/image/microtek.c: In function ‘mts_slave_configure’:
> usb/image/microtek.c:332:27: error: dereferencing pointer to incomplete type
>   blk_queue_dma_alignment(s->request_queue, (512 - 1));
>                            ^
> usb/image/microtek.c: In function ‘mts_scsi_abort’:
> usb/image/microtek.c:338:48: error: dereferencing pointer to incomplete type
>   struct mts_desc* desc = (struct mts_desc*)(srb->device->host->hostdata[0]);
>                                                 ^
> etc.
> 
> Signed-off-by: Mariusz Skamra <mariuszx.skamra@xxxxxxxxx>
> ---
>  drivers/usb/image/microtek.c | 1 +
>  1 file changed, 1 insertion(+)

really?  When did this start breaking?  I don't see it on any of my
builds, what caused this to happen?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux