android_kernel_oneplus_msm8998/drivers/net/ethernet/broadcom
Florian Fainelli 7dd8604365 net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
[ Upstream commit 60d6e6f0b9e422dd01aeda39257ee0428e5e2a3f ]

bgmac_dma_tx_ring_free() assigns the ctl1 word which is a litle endian
32-bit word without using proper accessors, fix this, and because a
length cannot be negative, use unsigned int while at it.

Fixes: 9cde94506e ("bgmac: implement scatter/gather support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:49:09 +02:00
..
bnx2x bnx2x: Allow vfs to disable txvlan offload 2018-04-13 19:50:20 +02:00
bnxt bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa(). 2018-05-30 07:49:04 +02:00
genet net: bcmgenet: Power up the internal PHY before probing the MII 2017-12-20 10:04:53 +01:00
b44.c b44: call netif_napi_del() 2015-06-07 19:45:34 -07:00
b44.h b44: Utilize BRCM_PSEUDO_PHY_ADDR 2015-06-10 23:33:58 -07:00
bcm63xx_enet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-24 06:54:12 -07:00
bcm63xx_enet.h
bcmsysport.c net: systemport: Rewrite __bcm_sysport_tx_reclaim() 2018-03-31 18:12:34 +02:00
bcmsysport.h net: systemport: Rewrite __bcm_sysport_tx_reclaim() 2018-03-31 18:12:34 +02:00
bgmac.c net: bgmac: Fix endian access in bgmac_dma_tx_ring_free() 2018-05-30 07:49:09 +02:00
bgmac.h bgmac: Utilize BRCM_PSEUDO_PHY_ADDR 2015-06-10 23:33:58 -07:00
bnx2.c BNX2: free temp_stats_blk on error path 2015-10-12 19:33:46 -07:00
bnx2.h BNX2: fix a Null Pointer for stats_blk 2015-10-11 05:06:21 -07:00
bnx2_fw.h bnx2-cnic: Driver Rebranding Changes 2015-02-20 15:46:49 -05:00
cnic.c cnic: Add the interfaces to get FC-NPIV table. 2015-08-06 21:54:12 -07:00
cnic.h cnic: Rebranding cnic driver. 2014-06-25 16:27:27 -07:00
cnic_defs.h cnic: Rebranding cnic driver. 2014-06-25 16:27:27 -07:00
cnic_if.h cnic: Add the interfaces to get FC-NPIV table. 2015-08-06 21:54:12 -07:00
Kconfig bnxt_en: add VXLAN dependency 2015-11-05 00:00:25 -05:00
Makefile bnxt_en: New Broadcom ethernet driver. 2015-10-22 19:30:33 -07:00
sb1250-mac.c MIPS: SB1: Remove support for Pass 1 parts. 2015-07-14 21:47:34 +02:00
tg3.c tg3: Fix vunmap() BUG_ON() triggered from tg3_free_consistent(). 2018-05-26 08:48:48 +02:00
tg3.h tg3: Add workaround to restrict 5762 MRRS to 2048 2018-03-03 10:19:42 +01:00