From: Ben Hutchings Date: Mon, 28 Mar 2011 17:12:52 +0000 (+0000) Subject: via-ircc: Pass PCI device pointer to dma_{alloc, free}_coherent() X-Git-Tag: v2.6.39-rc2~33^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1d9188f2cb81fe63c789d9f5463dca402ade12;p=pandora-kernel.git 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 Signed-off-by: Ben Hutchings Tested-by: Andrew Buckeridge [against 2.6.32] Signed-off-by: David S. Miller --- Reading git-diff-tree failed