Re: [PATCH] bsg: Fix warning with CONFIG_BLK_DEV_BSG=n

2007-07-29 Thread Roland Dreier
> James should already have that patch queued for inclusion since last > week. OK thanks, I missed seeing it go by. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-inf

Re: [PATCH] bsg: Fix warning with CONFIG_BLK_DEV_BSG=n

2007-07-29 Thread Jens Axboe
On Sat, Jul 28 2007, Roland Dreier wrote: > The current stub definitions of bsg_register_queue() and > bsg_unregister_queue() as macros leads to > > drivers/scsi/scsi_sysfs.c: In function 'scsi_sysfs_add_sdev': > drivers/scsi/scsi_sysfs.c:718: warning: unused variable 'rq' > > because the

[PATCH] bsg: Fix warning with CONFIG_BLK_DEV_BSG=n

2007-07-28 Thread Roland Dreier
The current stub definitions of bsg_register_queue() and bsg_unregister_queue() as macros leads to drivers/scsi/scsi_sysfs.c: In function 'scsi_sysfs_add_sdev': drivers/scsi/scsi_sysfs.c:718: warning: unused variable 'rq' because the first parameter of bsg_register_queue() is completely d