Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <sekharan@...>
Cc: Martin Michlmayr <tbm@...>, Mike Christie <michaelc@...>, <linux-kernel@...>
Date: Friday, August 24, 2007 - 6:00 pm

On Fri, 24 Aug 2007 14:33:02 -0700 Chandra Seetharaman wrote:


It does __what__ ?  depend on SCSI?
I don't see that in drivers/md/Kconfig.
Sounds like Martin is correct, SCSI needs to be added, like below.



---

From: Randy Dunlap <randy.dunlap@oracle.com>

DM_MULTIPATH_RDAC uses SCSI API(s) and is for a SCSI device,
so add SCSI to its depends on to prevent build errors.

Not tested.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/md/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.23-rc3-git6.orig/drivers/md/Kconfig
+++ linux-2.6.23-rc3-git6/drivers/md/Kconfig
@@ -263,7 +263,7 @@ config DM_MULTIPATH_EMC
 
 config DM_MULTIPATH_RDAC
 	tristate "LSI/Engenio RDAC multipath support (EXPERIMENTAL)"
-	depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
+	depends on DM_MULTIPATH && BLK_DEV_DM && SCSI && EXPERIMENTAL
 	---help---
 	  Multipath support for LSI/Engenio RDAC.
 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Martin Michlmayr, (Fri Aug 24, 12:08 pm)
Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Chandra Seetharaman, (Fri Aug 24, 5:33 pm)
Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Martin Michlmayr, (Sat Aug 25, 3:51 am)
Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Randy Dunlap, (Fri Aug 24, 6:00 pm)
Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Martin Michlmayr, (Sat Aug 25, 4:04 am)
Re: DM_MULTIPATH_RDAC: "scsi_normalize_sense" undefined, Chandra Seetharaman, (Fri Aug 24, 6:16 pm)