The patch titled Subject: lib/scatterlist.c: adjust indentation in __sg_alloc_table has been added to the -mm tree. Its filename is lib-scatterlist-adjust-indentation-in-__sg_alloc_table.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-scatterlist-adjust-indentation-in-__sg_alloc_table.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-scatterlist-adjust-indentation-in-__sg_alloc_table.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Nathan Chancellor <natechancellor@xxxxxxxxx> Subject: lib/scatterlist.c: adjust indentation in __sg_alloc_table Clang warns: ../lib/scatterlist.c:314:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] return -ENOMEM; ^ ../lib/scatterlist.c:311:4: note: previous statement is here if (prv) ^ 1 warning generated. This warning occurs because there is a space before the tab on this line. Remove it so that the indentation is consistent with the Linux kernel coding style and clang no longer warns. Link: http://lkml.kernel.org/r/20191218033606.11942-1-natechancellor@xxxxxxxxx Link: https://github.com/ClangBuiltLinux/linux/issues/830 Fixes: edce6820a9fd ("scatterlist: prevent invalid free when alloc fails") Signed-off-by: Nathan Chancellor <natechancellor@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/scatterlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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); _ Patches currently in -mm which might be from natechancellor@xxxxxxxxx are lib-scatterlist-adjust-indentation-in-__sg_alloc_table.patch