summaryrefslogtreecommitdiff
path: root/arch/ppc/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorYury Norov <ynorov@nvidia.com>2026-03-18 20:43:47 -0400
committerYury Norov <ynorov@nvidia.com>2026-03-23 13:56:25 -0400
commit2a4d3706d864d19ba8772b7a5e74328ac5c1007d (patch)
treed6e97c1ad6de09b617c1163ac8e8cfddaaca2a4d /arch/ppc/lib/git@git.tavy.me:linux.git
parente9cf8f83c9857a32494002c72b5f6e36ff4dfcd5 (diff)
bitmap: exclude nbits == 0 cases from bitmap test
Bitmap API handles nbits == 0 in most cases correctly, i.e. it doesn't dereferene underlying bitmap and returns a sane value where convenient, or implementation defined, or undef. Implicitly testing nbits == 0 case, however, may make an impression that this is a regular case. This is wrong. In most cases nbits == 0 is a sign of an error on a client side. The tests should not make such an implression. This patch reworks the existing tests to not test nbits == 0. The following patch adds an explicit test for it with an appropriate precaution. Signed-off-by: Yury Norov <ynorov@nvidia.com>
Diffstat (limited to 'arch/ppc/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions