mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
bitmap: add test_zero_nbits()
In most real-life cases, 0-length bitmap provided by user is a sign of an error. The API doesn't provide any guarantees on returned value, and the bitmap pointers are not dereferenced. Signed-off-by: Yury Norov <ynorov@nvidia.com>
This commit is contained in:
parent
2a4d3706d8
commit
95d324fb1b
2 changed files with 59 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue