Commit 34b59c9
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 c4095fc commit 34b59c9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3127 | 3127 | | |
3128 | 3128 | | |
3129 | 3129 | | |
3130 | | - | |
| 3130 | + | |
3131 | 3131 | | |
3132 | 3132 | | |
3133 | 3133 | | |
| |||
0 commit comments