* + linux-typesh-remove-unnecessary-__bitwise__.patch added to -mm tree
@ 2022-03-11 1:52 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-03-11 1:52 UTC (permalink / raw)
To: mm-commits, ndesaulniers, nathan, mst, corbet, bhelgaas, akpm
The patch titled
Subject: linux/types.h: remove unnecessary __bitwise__
has been added to the -mm tree. Its filename is
linux-typesh-remove-unnecessary-__bitwise__.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/linux-typesh-remove-unnecessary-__bitwise__.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/linux-typesh-remove-unnecessary-__bitwise__.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: Bjorn Helgaas <bhelgaas@google.com>
Subject: linux/types.h: remove unnecessary __bitwise__
There are no users of "__bitwise__" except the definition of "__bitwise".
Remove __bitwise__ and define __bitwise directly.
This is a follow-up to 05de97003c77 ("linux/types.h: enable endian checks
for all sparse builds").
Link: https://lkml.kernel.org/r/20220310220927.245704-2-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/uapi/linux/types.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/include/uapi/linux/types.h~linux-typesh-remove-unnecessary-__bitwise__
+++ a/include/uapi/linux/types.h
@@ -20,11 +20,10 @@
*/
#ifdef __CHECKER__
-#define __bitwise__ __attribute__((bitwise))
+#define __bitwise __attribute__((bitwise))
#else
-#define __bitwise__
+#define __bitwise
#endif
-#define __bitwise __bitwise__
typedef __u16 __bitwise __le16;
typedef __u16 __bitwise __be16;
_
Patches currently in -mm which might be from bhelgaas@google.com are
linux-typesh-remove-unnecessary-__bitwise__.patch
documentation-sparse-add-hints-about-__checker__.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-11 1:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 1:52 + linux-typesh-remove-unnecessary-__bitwise__.patch added to -mm tree Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).