Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9efeccac authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
Acked-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Akced-by: default avatarLee Duncan <lduncan@suse.com>
parent 46d832f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,7 @@


#include <linux/types.h>
#include <linux/types.h>


typedef unsigned int __bitwise__ samsung_gpio_pull_t;
typedef unsigned int __bitwise samsung_gpio_pull_t;


/* forward declaration if gpio-core.h hasn't been included */
/* forward declaration if gpio-core.h hasn't been included */
struct samsung_gpio_chip;
struct samsung_gpio_chip;
+3 −3
Original line number Original line Diff line number Diff line
@@ -17,9 +17,9 @@
 * discard bitset.
 * discard bitset.
 */
 */


typedef dm_block_t __bitwise__ dm_oblock_t;
typedef dm_block_t __bitwise dm_oblock_t;
typedef uint32_t __bitwise__ dm_cblock_t;
typedef uint32_t __bitwise dm_cblock_t;
typedef dm_block_t __bitwise__ dm_dblock_t;
typedef dm_block_t __bitwise dm_dblock_t;


static inline dm_oblock_t to_oblock(dm_block_t b)
static inline dm_oblock_t to_oblock(dm_block_t b)
{
{
+1 −1
Original line number Original line Diff line number Diff line
@@ -302,7 +302,7 @@
 * Always write the address first before setting the ownership
 * Always write the address first before setting the ownership
 * bits to avoid races with the hardware scanning the ring.
 * bits to avoid races with the hardware scanning the ring.
 */
 */
typedef u32 __bitwise__ hme32;
typedef u32 __bitwise hme32;


struct happy_meal_rxd {
struct happy_meal_rxd {
	hme32 rx_flags;
	hme32 rx_flags;
+2 −2
Original line number Original line Diff line number Diff line
@@ -228,7 +228,7 @@ enum iwl_ucode_tlv_flag {
	IWL_UCODE_TLV_FLAGS_BCAST_FILTERING	= BIT(29),
	IWL_UCODE_TLV_FLAGS_BCAST_FILTERING	= BIT(29),
};
};


typedef unsigned int __bitwise__ iwl_ucode_tlv_api_t;
typedef unsigned int __bitwise iwl_ucode_tlv_api_t;


/**
/**
 * enum iwl_ucode_tlv_api - ucode api
 * enum iwl_ucode_tlv_api - ucode api
@@ -258,7 +258,7 @@ enum iwl_ucode_tlv_api {
#endif
#endif
};
};


typedef unsigned int __bitwise__ iwl_ucode_tlv_capa_t;
typedef unsigned int __bitwise iwl_ucode_tlv_capa_t;


/**
/**
 * enum iwl_ucode_tlv_capa - ucode capabilities
 * enum iwl_ucode_tlv_capa - ucode capabilities
+1 −1
Original line number Original line Diff line number Diff line
@@ -246,7 +246,7 @@ struct lruvec {
#define ISOLATE_UNEVICTABLE	((__force isolate_mode_t)0x8)
#define ISOLATE_UNEVICTABLE	((__force isolate_mode_t)0x8)


/* LRU Isolation modes. */
/* LRU Isolation modes. */
typedef unsigned __bitwise__ isolate_mode_t;
typedef unsigned __bitwise isolate_mode_t;


enum zone_watermarks {
enum zone_watermarks {
	WMARK_MIN,
	WMARK_MIN,
Loading