Skip to content
Snippets Groups Projects
Commit fd1d9188 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

via-ircc: Pass PCI device pointer to dma_{alloc, free}_coherent()

via-ircc has been passing a NULL pointer to DMA allocation functions,
which is completely invalid and results in a BUG on PowerPC.  Now
that we always have the device pointer available, pass it in.

Reference: http://bugs.debian.org/619450


Reported-by: default avatarAndrew Buckeridge <andrewb@bgc.com.au>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Tested-by: Andrew Buckeridge <andrewb@bgc.com.au> [against 2.6.32]
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent abc45592
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment