Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351770
b: refs/heads/master
c: 1c06ef9
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jan 3, 2013
1 parent eae40b1 commit 3e227f5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec61cd63dd3f3bf982180b2bcc1b325160d73837
refs/heads/master: 1c06ef9831c78648f719a174e4598ae2600b0cf7
4 changes: 2 additions & 2 deletions trunk/include/net/cfg80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ struct cfg80211_bss {

u8 bssid[ETH_ALEN];

u8 priv[0] __attribute__((__aligned__(sizeof(void *))));
u8 priv[0] __aligned(sizeof(void *));
};

/**
Expand Down Expand Up @@ -2392,7 +2392,7 @@ struct wiphy {
const struct iw_handler_def *wext;
#endif

char priv[0] __attribute__((__aligned__(NETDEV_ALIGN)));
char priv[0] __aligned(NETDEV_ALIGN);
};

static inline struct net *wiphy_net(struct wiphy *wiphy)
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct ieee80211_chanctx_conf {

u8 rx_chains_static, rx_chains_dynamic;

u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
u8 drv_priv[0] __aligned(sizeof(void *));
};

/**
Expand Down Expand Up @@ -1059,7 +1059,7 @@ struct ieee80211_vif {
u32 driver_flags;

/* must be last */
u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
u8 drv_priv[0] __aligned(sizeof(void *));
};

static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif)
Expand Down Expand Up @@ -1209,7 +1209,7 @@ struct ieee80211_sta {
u8 max_sp;

/* must be last */
u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));
u8 drv_priv[0] __aligned(sizeof(void *));
};

/**
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/wireless/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct cfg80211_registered_device {

/* must be last because of the way we do wiphy_priv(),
* and it should at least be aligned to NETDEV_ALIGN */
struct wiphy wiphy __attribute__((__aligned__(NETDEV_ALIGN)));
struct wiphy wiphy __aligned(NETDEV_ALIGN);
};

static inline
Expand Down

0 comments on commit 3e227f5

Please sign in to comment.