lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 1 Jan 2018 13:45:44 +0530
From:   Selvin Xavier <selvin.xavier@...adcom.com>
To:     Leon Romanovsky <leon@...nel.org>
Cc:     Himanshu Jha <himanshujha199640@...il.com>,
        Doug Ledford <dledford@...hat.com>,
        Devesh Sharma <devesh.sharma@...adcom.com>,
        Jason Gunthorpe <jgg@...pe.ca>, linux-rdma@...r.kernel.org,
        linux-kernel <linux-kernel@...r.kernel.org>, mcgrof@...nel.org
Subject: Re: [PATCH] IB/ocrdma: Use zeroing memory allocator than allocator/memset

On Sun, Dec 31, 2017 at 5:42 PM, Leon Romanovsky <leon@...nel.org> wrote:
> On Sat, Dec 30, 2017 at 09:09:56PM +0530, Himanshu Jha wrote:
>> Use dma_zalloc_coherent for allocating zeroed
>> memory and remove unnecessary memset function.
>>
>> Done using Coccinelle.
>> Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
>> 0-day tested with no failures.
>>
>> Suggested-by: Luis R. Rodriguez <mcgrof@...nel.org>
>> Signed-off-by: Himanshu Jha <himanshujha199640@...il.com>
>> ---
>>  drivers/infiniband/hw/ocrdma/ocrdma_hw.c    | 19 +++++++------------
>>  drivers/infiniband/hw/ocrdma/ocrdma_stats.c |  6 ++----
>>  drivers/infiniband/hw/ocrdma/ocrdma_verbs.c |  8 +++-----
>>  3 files changed, 12 insertions(+), 21 deletions(-)
>>
>
> Thanks,
> Reviewed-by: Leon Romanovsky <leonro@...lanox.com>

Acked-by: Selvin Xavier <selvin.xavier@...adcom.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ