mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
powerpc/msi: Treat bitmap size as allocation failure
bitmap_find_next_zero_area() uses an out-of-range return value to indicate failure. Check for values greater than or equal to the bitmap size so the caller does not depend on the exact failure sentinel. Acked-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Yury Norov <ynorov@nvidia.com>
This commit is contained in:
parent
d00e89988e
commit
6abf50fde2
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue