From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> include/linux/bsg.h:67: warning: 'struct request_queue' declared inside parameter list include/linux/bsg.h:67: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/bsg.h:71: warning: 'struct request_queue' declared inside parameter list Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/bsg.h | 3 +++ 1 files changed, 3 insertions(+) diff -puN include/linux/bsg.h~bsg-declare-request_queue include/linux/bsg.h --- a/include/linux/bsg.h~bsg-declare-request_queue +++ a/include/linux/bsg.h @@ -53,6 +53,9 @@ struct sg_io_v4 { #ifdef __KERNEL__ +struct request_queue; +struct device; + #if defined(CONFIG_BLK_DEV_BSG) struct bsg_class_device { struct class_device *class_dev; _ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html