Skip to contentSkip to conversation

dm mpath: hp requires scsi

PATCH New Alasdair G Kergon 1 participant 1 message Dec 13, 2007

Subsystems (2)
lore
Share & tools
lore

Alasdair G Kergon

author maintainer
#0 lore raw

PATCH 2/6 dm mpath: hp requires scsi

From: Paul Mundt <[email protected]>

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.

---

 drivers/md/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/md/Kconfig +1 -1
Index: linux-2.6.24-rc5/drivers/md/Kconfig
===================================================================
@@ -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.