+ reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes
has been added to the -mm tree.  Its filename is
     reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes.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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes

WARNING: line over 80 characters
#36: FILE: fs/reiserfs/xattr.c:458:
+	 * lower the frequency of mismatch. This is an endianness bug in reiserfs.

WARNING: line over 80 characters
#37: FILE: fs/reiserfs/xattr.c:459:
+	 * The return statement would result in a sparse warning. Do not fix the sparse

total: 0 errors, 2 warnings, 16 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/reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash.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: Bharath Vedartham <linux.bhar@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/reiserfs/xattr.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- a/fs/reiserfs/xattr.c~reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes
+++ a/fs/reiserfs/xattr.c
@@ -455,11 +455,10 @@ static inline __u32 xattr_hash(const cha
 	 * big endian hosts. Images created on little-endian hosts and
 	 * mounted on big-endian hosts(and vice versa) will see csum mismatches
 	 * when trying to fetch xattrs. Treating the hash as __wsum_t would
-	 * lower the frequency of mismatch. This is an endianness bug in reiserfs.
-	 * The return statement would result in a sparse warning. Do not fix the sparse
-	 * warning so as to not hide the reminder of the bug.
+	 * lower the frequency of mismatch.  This is an endianness bug in
+	 * reiserfs.  The return statement would result in a sparse warning. Do
+	 * not fix the sparse warning so as to not hide a reminder of the bug.
 	 */
-
 	return csum_partial(msg, len, 0);
 }
 
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch
mm.patch
slab-fix-an-infinite-loop-in-leaks_show-fix.patch
userfaultfd-sysctl-add-vmunprivileged_userfaultfd-fix.patch
mm-compaction-fix-an-undefined-behaviour-fix.patch
mm-enable-error-injection-at-add_to_page_cache-fix.patch
mm-memory_hotplug-provide-a-more-generic-restrictions-for-memory-hotplug-fix.patch
mm-add-probe_user_read-fix.patch
mm-maintain-randomization-of-page-free-lists-checkpatch-fixes.patch
lib-list_sort-simplify-and-remove-max_list_length_bits-fix.patch
lib-test_vmallocc-test_func-eliminate-local-ret.patch
fs-binfmt_elfc-remove-unneeded-initialization-of-mm-start_stack.patch
reiserfs-add-comment-to-explain-endianness-issue-in-xattr_hash-checkpatch-fixes.patch
cpumask-fix-double-string-traverse-in-cpumask_parse-fix.patch
convert-struct-pid-count-to-refcount_t-fix.patch
gcov-clang-support-checkpatch-fixes.patch
ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch
linux-next-rejects.patch
mm-rename-ambiguously-named-memorystat-counters-and-functions-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
slab-leaks3-default-y.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux