On Tue, Jan 10, 2017 at 04:56:48PM -0800, Bart Van Assche wrote: > Almost all changes in this patch except the removal of local variables > that became superfluous and the actual removal of the ib_dma_map_*() > functions have been generated as follows: > > git grep -lE 'ib_(sg_|)dma_' | > xargs -d\\n \ > sed -i -e > 's/\([^[:alnum:]_]\)ib_dma_\([^(]*\)(\&\([^,]\+\),/\1dma_\2(\3.dma_device,/g' > \ > -e > 's/\([^[:alnum:]_]\)ib_dma_\([^(]*\)(\([^,]\+\),/\1dma_\2(\3->dma_device,/g' \ > -e 's/ib_sg_dma_\(len\|address\)(\([^,]\+\), /sg_dma_\1(/g' > > Signed-off-by: Bart Van Assche <[email protected]> > Reviewed-by: Christoph Hellwig <[email protected]> > Cc: Andreas Dilger <[email protected]> > Cc: Anna Schumaker <[email protected]> > Cc: David S. Miller <[email protected]> > Cc: Eric Van Hensbergen <[email protected]> > Cc: James Simmons <[email protected]> > Cc: Latchesar Ionkov <[email protected]> > Cc: Oleg Drokin <[email protected]> > Cc: Ron Minnich <[email protected]> > Cc: Trond Myklebust <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > drivers/infiniband/core/mad.c | 28 +-- > drivers/infiniband/core/rw.c | 30 ++- > drivers/infiniband/core/umem.c | 4 +- > drivers/infiniband/core/umem_odp.c | 6 +- > drivers/infiniband/hw/mlx4/cq.c | 2 +- > drivers/infiniband/hw/mlx4/mad.c | 28 +-- > drivers/infiniband/hw/mlx4/mr.c | 4 +- > drivers/infiniband/hw/mlx4/qp.c | 10 +- > drivers/infiniband/hw/mlx5/mr.c | 4 +-
For mlx5 and mlx4 parts. Acked-by: Leon Romanovsky <[email protected]> Thanks
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
