Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd81621c authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by James Bottomley
Browse files

[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: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Kai Makisara <Kai.Makisara@kolumbus.fi>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 99f1f534
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}