Messages in this thread | | | Date | Mon, 4 Jun 2018 10:50:37 -0600 | From | Jason Gunthorpe <> | Subject | Re: [PATCH] IB/hns: Use zeroing memory allocator instead of allocator/memset |
| |
On Sun, Jun 03, 2018 at 05:32:22PM +0800, YueHaibing wrote: > Use dma_zalloc_coherent for allocating zeroed memory and > remove unnecessary memset function. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- > drivers/infiniband/hw/hns/hns_roce_alloc.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-)
Applied to for-next, thanks.
Jason
| |