public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] md: dm-mpath-hp-sw depends on scsi
@ 2007-11-06  7:36 Paul Mundt
  0 siblings, 0 replies; only message in thread
From: Paul Mundt @ 2007-11-06  7:36 UTC (permalink / raw)
  To: Andrew Morton, Alasdair G Kergon; +Cc: dm-devel, linux-kernel

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>

---

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

diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 9b6fbf0..3fa7c77 100644
--- a/drivers/md/Kconfig
+++ b/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.
 

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

only message in thread, other threads:[~2007-11-06  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06  7:36 [PATCH] md: dm-mpath-hp-sw depends on scsi Paul Mundt

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