Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (43 commits) net: Fix 'Re: PACKET_TX_RING: packet size is too long' netdev: usb: dm9601.c can drive a device not supported yet, add support for it qlge: Fix firmware mailbox command timeout. qlge: Fix EEH handling. AF_RAW: Augment raw_send_hdrinc to expand skb to fit iphdr->ihl (v2) bonding: fix a race condition in calls to slave MII ioctls virtio-net: fix data corruption with OOM sfc: Set ip_summed correctly for page buffers passed to GRO cnic: Fix L2CTX_STATUSB_NUM offset in context memory. MAINTAINERS: rt2x00 list is moderated airo: Reorder tests, check bounds before element mac80211: fix for incorrect sequence number on hostapd injected frames libertas spi: fix sparse errors mac80211: trivial: fix spelling in mesh_hwmp cfg80211: sme: deauthenticate on assoc failure mac80211: keep auth state when assoc fails mac80211: fix ibss joining b43: add 'struct b43_wl' missing declaration b43: Fix Bugzilla #14181 and the bug from the previous 'fix' rt2x00: Fix crypto in TX frame for rt2800usb ...
这个提交包含在:
@@ -134,7 +134,7 @@ static void spu_transaction_finish(struct if_spi_card *card)
|
||||
static int spu_write(struct if_spi_card *card, u16 reg, const u8 *buf, int len)
|
||||
{
|
||||
int err = 0;
|
||||
u16 reg_out = cpu_to_le16(reg | IF_SPI_WRITE_OPERATION_MASK);
|
||||
__le16 reg_out = cpu_to_le16(reg | IF_SPI_WRITE_OPERATION_MASK);
|
||||
struct spi_message m;
|
||||
struct spi_transfer reg_trans;
|
||||
struct spi_transfer data_trans;
|
||||
@@ -166,7 +166,7 @@ static int spu_write(struct if_spi_card *card, u16 reg, const u8 *buf, int len)
|
||||
|
||||
static inline int spu_write_u16(struct if_spi_card *card, u16 reg, u16 val)
|
||||
{
|
||||
u16 buff;
|
||||
__le16 buff;
|
||||
|
||||
buff = cpu_to_le16(val);
|
||||
return spu_write(card, reg, (u8 *)&buff, sizeof(u16));
|
||||
@@ -188,7 +188,7 @@ static int spu_read(struct if_spi_card *card, u16 reg, u8 *buf, int len)
|
||||
{
|
||||
unsigned int delay;
|
||||
int err = 0;
|
||||
u16 reg_out = cpu_to_le16(reg | IF_SPI_READ_OPERATION_MASK);
|
||||
__le16 reg_out = cpu_to_le16(reg | IF_SPI_READ_OPERATION_MASK);
|
||||
struct spi_message m;
|
||||
struct spi_transfer reg_trans;
|
||||
struct spi_transfer dummy_trans;
|
||||
@@ -235,7 +235,7 @@ static int spu_read(struct if_spi_card *card, u16 reg, u8 *buf, int len)
|
||||
/* Read 16 bits from an SPI register */
|
||||
static inline int spu_read_u16(struct if_spi_card *card, u16 reg, u16 *val)
|
||||
{
|
||||
u16 buf;
|
||||
__le16 buf;
|
||||
int ret;
|
||||
|
||||
ret = spu_read(card, reg, (u8 *)&buf, sizeof(buf));
|
||||
@@ -248,7 +248,7 @@ static inline int spu_read_u16(struct if_spi_card *card, u16 reg, u16 *val)
|
||||
* The low 16 bits are read first. */
|
||||
static int spu_read_u32(struct if_spi_card *card, u16 reg, u32 *val)
|
||||
{
|
||||
u32 buf;
|
||||
__le32 buf;
|
||||
int err;
|
||||
|
||||
err = spu_read(card, reg, (u8 *)&buf, sizeof(buf));
|
||||
|
在新工单中引用
屏蔽一个用户