Commit 7a40387d authored by David Miller's avatar David Miller Committed by Greg Kroah-Hartman
Browse files

SPARC64: Fix OOPS in dma_sync_*_for_device()



[SPARC64]: Fix OOPS in dma_sync_*_for_device()

[ Upstream commit: 36bb6134 ]

I included these operations vector cases for situations
where we never need to do anything, the entries aren't
filled in by any implementation, so we OOPS trying to
invoke NULL pointer functions.

Really make them NOPs, to fix the bug.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b525b626
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment