commit | 8c61b24585c44e1de337e45858129abce9c3a008 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Sun Jun 03 17:32:22 2018 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jun 04 10:50:04 2018 -0600 |
tree | bb47f261166b8d4ab32458ba2c270407428a532e | |
parent | cb2595c1393b4a5211534e6f0a0fbad369e21ad8 [diff] |
IB/hns: Use zeroing memory allocator instead of allocator/memset Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>