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

Skip to content
Commit 30fa0d0f authored by Anton Blanchard's avatar Anton Blanchard Committed by Jens Axboe
Browse files

Initialise scatter/gather list in sg driver



After turning on DEBUG_SG I hit a fail:

kernel BUG at include/linux/scatterlist.h:50!

	sg_build_indirect
	sg_build_reserve
	sg_open
	chrdev_open
	__dentry_open
	do_filp_open
	do_sys_open

We should initialise the sg list when we allocate it in sg_build_sgat.

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent acd054a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment