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] [day] [month] [year] [list]
Message-Id: <20200730.174124.1077558881160047416.davem@davemloft.net>
Date:   Thu, 30 Jul 2020 17:41:24 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     liheng40@...wei.com
Cc:     michael.chan@...adcom.com, kuba@...nel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] bnxt_en: Remove superfluous memset()

From: Li Heng <liheng40@...wei.com>
Date: Thu, 30 Jul 2020 14:43:50 +0800

> Fixes coccicheck warning:
> 
> ./drivers/net/ethernet/broadcom/bnxt/bnxt.c:3730:19-37: WARNING:
> dma_alloc_coherent use in stats -> hw_stats already zeroes out
> memory,  so memset is not needed
> 
> dma_alloc_coherent use in status already zeroes out memory,
> so memset is not needed
> 
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Li Heng <liheng40@...wei.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ