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: <CAKYAXd8rZ0_fjBK0tRLSrEqsY40r7hba3QVvJzNaLkexHfcWhQ@mail.gmail.com>
Date: Sat, 6 Dec 2025 19:44:22 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Haotian Zhang <vulab@...as.ac.cn>
Cc: sj1557.seo@...sung.com, yuezhang.mo@...y.com, 
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] fs: exfat: improve error code handling in exfat_find_empty_entry()

On Fri, Dec 5, 2025 at 10:59 AM Haotian Zhang <vulab@...as.ac.cn> wrote:
>
> Change the type of 'ret' from unsigned int to int in
> exfat_find_empty_entry(). Although the implicit type conversion
> (int -> unsigned int -> int) does not cause actual bugs in
> practice, using int directly is more appropriate for storing
> error codes returned by exfat_alloc_cluster().
>
> This improves code clarity and consistency with standard error
> handling practices.
>
> Signed-off-by: Haotian Zhang <vulab@...as.ac.cn>
Applied it to #dev.
Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ