Skip to content

Commit d99b8df

Browse files
akpm00broonie
authored andcommitted
mm-shmem-dont-truncate-page-if-memory-failure-happens-checkpatch-fixes
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) torvalds#20: slight different implementation from what Ajay Garg <ajaygargnsit@gmail.com> WARNING: suspect code indent for conditional statements (16, 23) torvalds#148: FILE: mm/shmem.c:3129: + if (!page) + return ERR_PTR(-ECHILD); WARNING: Statements should start on a tabstop torvalds#149: FILE: mm/shmem.c:3130: + return ERR_PTR(-ECHILD); total: 0 errors, 3 warnings, 150 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-shmem-dont-truncate-page-if-memory-failure-happens.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Yang Shi <shy828301@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 286b39b commit d99b8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/shmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3127,7 +3127,7 @@ static const char *shmem_get_link(struct dentry *dentry,
31273127
if (error)
31283128
return ERR_PTR(error);
31293129
if (!page)
3130-
return ERR_PTR(-ECHILD);
3130+
return ERR_PTR(-ECHILD);
31313131
if (PageHWPoison(page)) {
31323132
unlock_page(page);
31333133
put_page(page);

0 commit comments

Comments
 (0)