[PATCH 12/51] DMA-API: net: intel/e1000: replace dma_set_mask()+dma_set_coherent_mask() with new helper

Jeff Kirsher jeffrey.t.kirsher at intel.com
Sat Sep 21 05:45:55 EST 2013


On Thu, 2013-09-19 at 22:37 +0100, Russell King wrote:
> Replace the following sequence:
> 
>         dma_set_mask(dev, mask);
>         dma_set_coherent_mask(dev, mask);
> 
> with a call to the new helper dma_set_mask_and_coherent().
> 
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> ---
>  drivers/net/ethernet/intel/e1000/e1000_main.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)

Acked-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20130920/d9b04c0f/attachment.sig>


More information about the Linuxppc-dev mailing list