aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/types.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/types.h
parentcheckpatch: replace __bitwise__ with __bitwise (diff)
downloadwireguard-linux-9efeccacd3a486128d3add611dd4cefb5b60a58c.tar.xz
wireguard-linux-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/types.h')
-rw-r--r--include/linux/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index baf718324f4a..d501ad3ba247 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -154,8 +154,8 @@ typedef u64 dma_addr_t;
typedef u32 dma_addr_t;
#endif
-typedef unsigned __bitwise__ gfp_t;
-typedef unsigned __bitwise__ fmode_t;
+typedef unsigned __bitwise gfp_t;
+typedef unsigned __bitwise fmode_t;
#ifdef CONFIG_PHYS_ADDR_T_64BIT
typedef u64 phys_addr_t;