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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 28 Oct 2021 10:59:36 -0400 From: "Theodore Ts'o" <tytso@....edu> To: Andreas Dilger <adilger.kernel@...ger.ca>, linux-ext4@...r.kernel.org, Lukas Bulwahn <lukas.bulwahn@...il.com> Cc: "Theodore Ts'o" <tytso@....edu>, linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org Subject: Re: [PATCH] ext4: scope ret locally in ext4_try_to_trim_range() On Fri, 20 Aug 2021 14:08:53 +0200, Lukas Bulwahn wrote: > As commit 6920b3913235 ("ext4: add new helper interface > ext4_try_to_trim_range()") moves some code into the separate function > ext4_try_to_trim_range(), the use of the variable ret within that > function is more limited and can be adjusted as well. > > Scope the use of the variable ret locally and drop dead assignments. > > [...] Applied, thanks! [1/1] ext4: scope ret locally in ext4_try_to_trim_range() commit: fd7a2ed7b32a4ee41477a5326941b95650575c84 Best regards, -- Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists