mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
The return index value from bitmap_find_next_zero_area can be higher than available slot. So correct the check to return error in such case. Signed-off-by: Maulik Shah <[email protected]> Signed-off-by: Raju P.L.S.S.S.N <[email protected]> Reviewed-by: Lina Iyer <[email protected]> Signed-off-by: Andy Gross <[email protected]>