diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-03-28 17:12:52 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-30 07:12:33 (GMT) |
commit | fd1d9188f2cb81fe63c789d9f5463dca402ade12 (patch) | |
tree | 9f09b2f889c91b448ae9cfe9622450930f7b1edd /drivers/video/tcx.c | |
parent | abc45592bce8267a8e651c12ce94a1f83eaac7a6 (diff) | |
download | linux-fsl-qoriq-fd1d9188f2cb81fe63c789d9f5463dca402ade12.tar.xz |
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: Andrew Buckeridge <andrewb@bgc.com.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Andrew Buckeridge <andrewb@bgc.com.au> [against 2.6.32]
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/tcx.c')
0 files changed, 0 insertions, 0 deletions