projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f1f53
)
[SCSI] st: fix kernel BUG at include/linux/scatterlist.h:59!
author
FUJITA Tomonori
<tomof@acm.org>
Sat, 15 Dec 2007 06:51:55 +0000
(15:51 +0900)
committer
James Bottomley
<James.Bottomley@HansenPartnership.com>
Tue, 18 Dec 2007 22:04:13 +0000
(16:04 -0600)
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 <fujita.tomonori@lab.ntt.co.jp>
Cc: Kai Makisara <Kai.Makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/st.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/st.c
b/drivers/scsi/st.c
index 98dfd6ea209c69cd42b54fcbad286ac83826d7c7..328c47c6aeb1928a720f901f43f2a25e01ebb52e 100644
(file)
--- 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;
}