VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-24 12:46:42 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-24 12:46:42 -0700 commit: d76913908102044f14381df865bb74df17a538cb parent: af0041875ce7f5a05362b884e90cf82c27876096
Commit Summary:
Merge tag 'block-5.10-2020-10-24' of git://git.kernel.dk/linux-block
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/lib/scatterlist.c b/lib/scatterlist.c
index 9a4992dc8e8c..0a482ef988e5 100644
--- a/lib/scatterlist.c
+++ b/lib/scatterlist.c
@@ -595,7 +595,7 @@ struct scatterlist *sgl_alloc_order(unsigned long long length,
 		elem_len = min_t(u64, length, PAGE_SIZE << order);
 		page = alloc_pages(gfp, order);
 		if (!page) {
-			sgl_free(sgl);
+			sgl_free_order(sgl, order);
 			return NULL;
 		}