--- a/lib/scatterlist.c~lib-scatterlist-adjust-indentation-in-__sg_alloc_table +++ a/lib/scatterlist.c @@ -311,7 +311,7 @@ int __sg_alloc_table(struct sg_table *ta if (prv) table->nents = ++table->orig_nents; - return -ENOMEM; + return -ENOMEM; } sg_init_table(sg, alloc_size);