[PATCH] staging: erofs: fix return type of erofs_workgroup_get

Chao Yu yuchao0 at huawei.com
Wed Dec 26 18:06:01 AEDT 2018


On 2018/12/26 11:34, Gao Xiang wrote:
> There exists a return type misuse (`int'->`bool') since all
> users assume it fails if only return value != 0, let's fix
> the return type to `int' instead of confusing `bool'.
> 
> No logic changes.
> 
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,



More information about the Linux-erofs mailing list