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: <534687df-c200-4741-ad00-a847e8fb8b12@web.de>
Date: Tue, 28 May 2024 11:22:23 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Li zeming <zeming@...china.com>, linux-block@...r.kernel.org,
 Chaitanya Kulkarni <kch@...dia.com>, Jens Axboe <axboe@...nel.dk>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] blk-zoned: Remove unnecessary ‘0’ values from ret

> ret is assigned first, so it does not need to initialize the assignment.

* Would a wording approach (like the following) be a bit nicer?

  The variable “ret” will eventually be set to an appropriate value
  a bit later. Thus omit the explicit initialisation at the beginning.

* How do you think about to use the summary phrase
  “Delete an unnecessary initialisation in blkdev_zone_mgmt()”?


Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ