]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
zsmalloc-zs_object_copy-replace-email-link-to-doc-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 17 Aug 2022 17:42:29 +0000 (10:42 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:02:58 +0000 (22:02 -0700)
ERROR: code indent should use tabs where possible
#26: FILE: mm/zsmalloc.c:1562:
+         * kunmap_atomic(d_addr). For more details see$

ERROR: code indent should use tabs where possible
#27: FILE: mm/zsmalloc.c:1563:
+         * Documentation/mm/highmem$

total: 2 errors, 0 warnings, 10 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.

NOTE: Whitespace errors detected.
      You may wish to use scripts/cleanpatch or scripts/cleanfile

./patches/zsmalloc-zs_object_copy-replace-email-link-to-doc.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: Alexey Romanov <avromanov@sberdevices.ru>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zsmalloc.c

index 73639c3ceea4911cd87c7456d785df2e8a2e99a4..7f833556e0599d0693bc74555f7d96871b9891db 100644 (file)
@@ -1559,8 +1559,8 @@ static void zs_object_copy(struct size_class *class, unsigned long dst,
                 * Calling kunmap_atomic(d_addr) is necessary. kunmap_atomic()
                 * calls must occurs in reverse order of calls to kmap_atomic().
                 * So, to call kunmap_atomic(s_addr) we should first call
-         * kunmap_atomic(d_addr). For more details see
-         * Documentation/mm/highmem
+                * kunmap_atomic(d_addr). For more details see
+                * Documentation/mm/highmem.
                 */
                if (s_off >= PAGE_SIZE) {
                        kunmap_atomic(d_addr);