public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6/6] cciss: fix bug if scsi tape support is disabled
@ 2008-07-30 21:18 Mike Miller
  2008-08-04  9:56 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Miller @ 2008-07-30 21:18 UTC (permalink / raw)
  To: Andrew Morton, Jens Axboe; +Cc: LKML, LKML-scsi

Patch 6 of 6

Bug fix. If SCSI tape support is turned off we get an implicit declaration
of cciss_unregister_scsi error in cciss_remove_one.
Please consider this for inclusion.

Thanks,
mikem

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>

diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index ae663db..262148b 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -3616,7 +3616,9 @@ static void __devexit cciss_remove_one(struct pci_dev *pdev)
 		}
 	}
 
+#ifdef CONFIG_CISS_SCSI_TAPE
 	cciss_unregister_scsi(i);	/* unhook from SCSI subsystem */
+#endif
 
 	cciss_shutdown(pdev);
 

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-08-07 18:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 21:18 [PATCH 6/6] cciss: fix bug if scsi tape support is disabled Mike Miller
2008-08-04  9:56 ` Jens Axboe
2008-08-05 22:30   ` Andrew Morton
2008-08-06  3:08     ` Stephen Rothwell
2008-08-06 10:33       ` Jens Axboe
2008-08-06 23:43         ` Stephen Rothwell
2008-08-07 15:29           ` Miller, Mike (OS Dev)
2008-08-07 17:20             ` Jens Axboe
2008-08-07 18:25               ` Miller, Mike (OS Dev)
2008-08-07 18:28                 ` Jens Axboe
2008-08-06 10:32     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox