]> git.baikalelectronics.ru Git - kernel.git/commit
net: qca_spi: Fix alignment issues in rx path
authorStefan Wahren <stefan.wahren@i2se.com>
Tue, 9 May 2017 13:40:38 +0000 (15:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 May 2017 16:14:12 +0000 (12:14 -0400)
commitb69731f00ef08727f995bff7cffb4c8e3c8bb378
tree010de438f2401f1dcf9abaaee9b99be0ddd5aadb
parente65734ba3657eb6c207deed3400cfabad84002dc
net: qca_spi: Fix alignment issues in rx path

The qca_spi driver causes alignment issues on ARM devices.
So fix this by using netdev_alloc_skb_ip_align().

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: a93f2da6615c ("net: qualcomm: new Ethernet over SPI driver for QCA7000")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/qca_spi.c