diff options
author | Robert Hancock <hancock@sedsystems.ca> | 2019-06-06 16:28:05 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 16:24:29 -0700 |
commit | 23e6b2dc93630b60a6c33bd2a1289686bc33e272 (patch) | |
tree | 8ee634c23ea11707d21ca07ce8635c74934da24f /drivers/misc/ibmasm/module.c | |
parent | 40ae25505fe834648ce4aa70b073ee934942bfdb (diff) |
net: axienet: Fix casting of pointers to u32
This driver was casting skb pointers to u32 and storing them as such in
the DMA buffer descriptor, which is obviously broken on 64-bit. The area
of the buffer descriptor being used is not accessed by the hardware and
has sufficient room for a 32 or 64-bit pointer, so just store the skb
pointer as such.
Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions