mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
[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 <fujita.tomonori@lab.ntt.co.jp> Cc: Kai Makisara <Kai.Makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
99f1f53492
commit
cd81621c5c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user