public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.24 PATCH 02/06] dm mpath: hp requires scsi
@ 2007-12-13 14:42 Alasdair G Kergon
  0 siblings, 0 replies; only message in thread
From: Alasdair G Kergon @ 2007-12-13 14:42 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: dm-devel, linux-kernel, Paul Mundt

From: Paul Mundt <lethal@linux-sh.org>

With CONFIG_SCSI=n __scsi_print_sense() is never linked in.

drivers/built-in.o: In function `hp_sw_end_io':
dm-mpath-hp-sw.c:(.text+0x914f8): undefined reference to `__scsi_print_sense'

Caught with a randconfig on current git.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

---

 drivers/md/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.24-rc5/drivers/md/Kconfig
===================================================================
--- linux-2.6.24-rc5.orig/drivers/md/Kconfig	2007-12-12 15:40:33.000000000 +0000
+++ linux-2.6.24-rc5/drivers/md/Kconfig	2007-12-12 15:43:10.000000000 +0000
@@ -269,7 +269,7 @@ config DM_MULTIPATH_RDAC
 
 config DM_MULTIPATH_HP
         tristate "HP MSA multipath support (EXPERIMENTAL)"
-        depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
+        depends on DM_MULTIPATH && BLK_DEV_DM && SCSI && EXPERIMENTAL
         ---help---
           Multipath support for HP MSA (Active/Passive) series hardware.
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-13 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 14:42 [2.6.24 PATCH 02/06] dm mpath: hp requires scsi Alasdair G Kergon

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