aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-12-11 06:34:53 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 00:13:41 +0200
commit9efeccacd3a486128d3add611dd4cefb5b60a58c (patch)
tree5d23034005e2856ac141a91547d39cb38717c72f /include/linux/serial_core.h
parentcheckpatch: replace __bitwise__ with __bitwise (diff)
downloadlinux-dev-9efeccacd3a486128d3add611dd4cefb5b60a58c.tar.xz
linux-dev-9efeccacd3a486128d3add611dd4cefb5b60a58c.zip
linux: drop __bitwise__ everywhere
__bitwise__ used to mean "yes, please enable sparse checks unconditionally", but now that we dropped __CHECK_ENDIAN__ __bitwise is exactly the same. There aren't many users, replace it by __bitwise everywhere. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Stefan Schmidt <stefan@osg.samsung.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Akced-by: Lee Duncan <lduncan@suse.com>
Diffstat (limited to 'include/linux/serial_core.h')
-rw-r--r--include/linux/serial_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 5d494888a612..5def8e830fb0 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -111,8 +111,8 @@ struct uart_icount {
__u32 buf_overrun;
};
-typedef unsigned int __bitwise__ upf_t;
-typedef unsigned int __bitwise__ upstat_t;
+typedef unsigned int __bitwise upf_t;
+typedef unsigned int __bitwise upstat_t;
struct uart_port {
spinlock_t lock; /* port lock */