Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=29417b899a77aaba1c060f5e123db4f50006f58a
Commit:     29417b899a77aaba1c060f5e123db4f50006f58a
Parent:     a54890d7a6f37a4658294cbce650af4d1fabb8c9
Author:     Linus Torvalds <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 16 16:52:44 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 16:53:22 2007 -0700

    Make BLK_DEV_BSG depend strictly on SCSI=y
    
    The SCSI code can be compiled modular, but BLK_DEV_BSG currently cannot,
    and depends on the SCSI layer.  So make sure that it depends on the SCSI
    layer being compiled in, not just available as a module.
    
    Noticed by Jeff Garzik and S.Çağlar Onur.
    
    Cc: Jeff Garzik <[EMAIL PROTECTED]>
    Cc: Jens Axboe <[EMAIL PROTECTED]>
    Cc: S.Çağlar Onur <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 block/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index 1d16b08..6597b60 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -53,7 +53,7 @@ endif # BLOCK
 
 config BLK_DEV_BSG
        bool "Block layer SG support"
-       depends on SCSI && EXPERIMENTAL
+       depends on (SCSI=y) && EXPERIMENTAL
        default y
        ---help---
        Saying Y here will enable generic SG (SCSI generic) v4
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to