+ byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch added to -mm tree

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

 



The patch titled
     Subject: byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes
has been added to the -mm tree.  Its filename is
     byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/byteorder-sanity-check-toolchain-vs-kernel-endianess-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: byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes

WARNING: 'endianess' may be misspelled - perhaps 'endianness'?
#29: FILE: include/uapi/linux/byteorder/big_endian.h:6:
+#error "Unsupported endianess, check your toolchain"

WARNING: 'endianess' may be misspelled - perhaps 'endianness'?
#42: FILE: include/uapi/linux/byteorder/little_endian.h:6:
+#error "Unsupported endianess, check your toolchain"

total: 0 errors, 2 warnings, 20 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/byteorder-sanity-check-toolchain-vs-kernel-endianess.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: Christoph Hellwig <hch@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/uapi/linux/byteorder/big_endian.h    |    2 +-
 include/uapi/linux/byteorder/little_endian.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/include/uapi/linux/byteorder/big_endian.h~byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes
+++ a/include/uapi/linux/byteorder/big_endian.h
@@ -3,7 +3,7 @@
 #define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H
 
 #if defined(__BYTE_ORDER__) && __BYTE_ORDER__ != __ORDER_BIG_ENDIAN__
-#error "Unsupported endianess, check your toolchain"
+#error "Unsupported endianness, check your toolchain"
 #endif
 
 #ifndef __BIG_ENDIAN
--- a/include/uapi/linux/byteorder/little_endian.h~byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes
+++ a/include/uapi/linux/byteorder/little_endian.h
@@ -3,7 +3,7 @@
 #define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H
 
 #if defined(__BYTE_ORDER__) && __BYTE_ORDER__ !=  __ORDER_LITTLE_ENDIAN__
-#error "Unsupported endianess, check your toolchain"
+#error "Unsupported endianness, check your toolchain"
 #endif
 
 #ifndef __LITTLE_ENDIAN
_

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
byteorder-sanity-check-toolchain-vs-kernel-endianess-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