diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-06-23 08:07:56 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-06-23 08:07:56 +0200 |
commit | e727f5cde90d5a8b92a1ffa49c636a3790301469 (patch) | |
tree | 5dd70392072f4e771b89b5bc82dfc6d45a46bd4b /drivers/net/au1000_eth.h | |
parent | Merge branch 'next-i2c' of git://aeryn.fluff.org.uk/bjdooks/linux (diff) | |
download | linux-e727f5cde90d5a8b92a1ffa49c636a3790301469.tar.xz linux-e727f5cde90d5a8b92a1ffa49c636a3790301469.zip |
mlx4_core: Fix dma_sync_single_for_cpu() with matching for_device() calls
Commit 5d23a1d2 ("net: replace dma_sync_single with
dma_sync_single_for_cpu") replaced uses of the deprectated function
dma_sync_single() with calls to dma_sync_single_for_cpu(). However,
to be correct, the code should do a sync for_cpu() before touching the
memory and for_device() after it's done.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/au1000_eth.h')
0 files changed, 0 insertions, 0 deletions