aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2011-01-20 08:26:38 +0000
committerUwe Kleine-König <[email protected]>2011-02-15 08:26:30 +0000
commitd1ab1f54a1b0fb0ae6479fad6e26983f09fd263a (patch)
tree29a01abd508b85dacc5c60c46e83575559f90e1b /net/unix/af_unix.c
parentnet/fec: reorder functions a bit allows removing forward declarations (diff)
downloadkernel-d1ab1f54a1b0fb0ae6479fad6e26983f09fd263a.tar.gz
kernel-d1ab1f54a1b0fb0ae6479fad6e26983f09fd263a.zip
net/fec: provide device for dma functions and matching sizes for map and unmap
This fixes warnings when CONFIG_DMA_API_DEBUG=y: NULL NULL: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x000000004781a020] [size=64 bytes] net eth0: DMA-API: device driver frees DMA memory with different size [device address=0x000000004781a020] [map size=2048 bytes] [unmap size=64 bytes] Moreover pass the platform device to dma_{,un}map_single which makes more sense because the logical network device doesn't know anything about dma. Passing the platform device was a suggestion by Lothar Waßmann. Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions