diff options
| author | Haotian Zhang <vulab@iscas.ac.cn> | 2025-12-05 09:59:04 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-02-12 21:21:47 +0900 |
| commit | 8ffe56b104c5a9cdb88e3c7b2d84fa70d8866e64 (patch) | |
| tree | 44a4dc5a370633c8b51328f0faa6cc6cd6fda5fc /tools/perf/scripts/python | |
| parent | 37a93dd5c49b5fda807fd204edf2547c3493319c (diff) | |
| download | linux-8ffe56b104c5a9cdb88e3c7b2d84fa70d8866e64.tar.gz linux-8ffe56b104c5a9cdb88e3c7b2d84fa70d8866e64.zip | |
exfat: improve error code handling in exfat_find_empty_entry()
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@iscas.ac.cn>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
