aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2018-04-01 17:26:30 +0000
committerDavid S. Miller <[email protected]>2018-04-02 02:20:48 +0000
commit60d6e6f0b9e422dd01aeda39257ee0428e5e2a3f (patch)
tree809fe704a4c24a4383ce887c0c668d33b7a5851a /net/unix/af_unix.c
parentnet: bgmac: Correctly annotate register space (diff)
downloadkernel-60d6e6f0b9e422dd01aeda39257ee0428e5e2a3f.tar.gz
kernel-60d6e6f0b9e422dd01aeda39257ee0428e5e2a3f.zip
net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
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: 9cde94506eac ("bgmac: implement scatter/gather support") Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions