diff options
author | Chen Ridong <chenridong@huawei.com> | 2025-09-17 06:04:46 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-09-17 08:37:30 -1000 |
commit | 6a59fc4a3a5b19ea375b54ea70d16713c45ea5a0 (patch) | |
tree | 9c65ef288a163d470afcc8f512824206d2bf06c0 /rust/helpers/helpers.c | |
parent | bba0ccf829b904e6d1f119d94f01d7209d34ba28 (diff) |
cpuset: change return type of is_partition_[in]valid to bool
The functions is_partition_valid() and is_partition_invalid() logically
return boolean values, but were previously declared with return type
'int'. This patch changes their return type to 'bool' to better reflect
their semantic meaning and improve type safety.
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions