Bug#619450: [PATCH 2/2] via-ircc: Pass PCI device pointer to dma_{alloc,free}_coherent()

2011-03-30 Thread David Miller
From: Ben Hutchings b...@decadent.org.uk Date: Tue, 29 Mar 2011 04:12:52 +0100 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:

Bug#619450: [PATCH 2/2] via-ircc: Pass PCI device pointer to dma_{alloc,free}_coherent()

2011-03-28 Thread Ben Hutchings
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 andr...@bgc.com.au