diff options
| author | Yury Norov <ynorov@nvidia.com> | 2026-07-08 22:03:08 -0400 |
|---|---|---|
| committer | Yury Norov <ynorov@nvidia.com> | 2026-07-22 15:38:38 -0400 |
| commit | 6abf50fde2da0f8146fde313ae567277e562f1f9 (patch) | |
| tree | 1173bc02724aa081511645816ada4faed7acde97 /drivers/crypto | |
| parent | d00e89988e0192b3a1e413ec095e1699e5d23f2b (diff) | |
| download | linux-next-6abf50fde2da0f8146fde313ae567277e562f1f9.tar.gz linux-next-6abf50fde2da0f8146fde313ae567277e562f1f9.zip | |
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions
