[PATCH net-next] netlabel: remove impossible return value in netlbl_bitmap_walk

Jiri Pirko jiri at resnulli.us
Tue Feb 27 12:35:24 UTC 2024


Tue, Feb 27, 2024 at 10:36:04AM CET, shaozhengchao at huawei.com wrote:
>Since commit 446fda4f2682 ("[NetLabel]: CIPSOv4 engine"), *bitmap_walk
>function only returns -1. Nearly 18 years have passed, -2 scenes never
>come up, so there's no need to consider it.
>
>Signed-off-by: Zhengchao Shao <shaozhengchao at huawei.com>

Reviewed-by: Jiri Pirko <jiri at nvidia.com>



More information about the Linux-security-module-archive mailing list