Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cd81621c5c5c869b848818b506962dab4499e0d9
Commit:     cd81621c5c5c869b848818b506962dab4499e0d9
Parent:     99f1f534922a2f2251ba05b14657a1c62882a80e
Author:     FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Sat Dec 15 15:51:55 2007 +0900
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue Dec 18 16:04:13 2007 -0600

    [SCSI] st: fix kernel BUG at include/linux/scatterlist.h:59!
    
    This is caused by a missing scatterlist initialisation (it only shows
    up when sg list handling debugging is turned on).
    
    Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
    Cc: Kai Makisara <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/st.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index 98dfd6e..328c47c 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -3611,6 +3611,7 @@ static struct st_buffer *
 
        tb->dma = need_dma;
        tb->buffer_size = got;
+       sg_init_table(tb->sg, max_sg);
 
        return tb;
 }
-
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