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]
Message-ID: <cde0a2da-fae1-4f9f-b67f-f3906fc5cce6@kernel.org>
Date: Tue, 2 Jul 2024 12:33:52 +0900
From: Damien Le Moal <dlemoal@...nel.org>
To: Haoqian He <haoqian.he@...rtx.com>, Christoph Hellwig
 <hch@...radead.org>,
 "James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
 open list <linux-kernel@...r.kernel.org>,
 "open list:SCSI SUBSYSTEM" <linux-scsi@...r.kernel.org>,
 "Martin K. Petersen" <martin.petersen@...cle.com>
Cc: fengli@...rtx.com
Subject: Re: [PATCH 3/3] scsi: sd: remove some redundant initialization code

On 7/2/24 12:01, Haoqian He wrote:
> Since the memory allocated by kzalloc for sdkp has been
> initialized to 0, the code that initializes some sdkp
> fields to 0 is no longer needed.
> 
> Signed-off-by: Haoqian He <haoqian.he@...rtx.com>
> Signed-off-by: Li Feng <fengli@...rtx.com>

Looks OK to me.

Reviewed-by: Damien Le Moal <dlemoal@...nel.org>

-- 
Damien Le Moal
Western Digital Research


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ