aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2022-04-28 20:51:13 +0000
committerYury Norov <[email protected]>2022-06-03 13:52:58 +0000
commit0a97953fd2210d0ac8eb5c76f8bd08fb53b6d3d6 (patch)
tree6e885d7e9e651c08d3db29539df803d48f7ae193 /lib/test_bitmap.c
parentlib/bitmap: extend comment for bitmap_(from,to)_arr32() (diff)
downloadkernel-0a97953fd2210d0ac8eb5c76f8bd08fb53b6d3d6.tar.gz
kernel-0a97953fd2210d0ac8eb5c76f8bd08fb53b6d3d6.zip
lib: add bitmap_{from,to}_arr64
Manipulating 64-bit arrays with bitmap functions is potentially dangerous because on 32-bit BE machines the order of halfwords doesn't match. Another issue is that compiler may throw a warning about out-of-boundary access. This patch adds bitmap_{from,to}_arr64 functions in addition to existing bitmap_{from,to}_arr32. CC: Alexander Gordeev <[email protected]> CC: Andy Shevchenko <[email protected]> CC: Christian Borntraeger <[email protected]> CC: Claudio Imbrenda <[email protected]> CC: David Hildenbrand <[email protected]> CC: Heiko Carstens <[email protected]> CC: Janosch Frank <[email protected]> CC: Rasmus Villemoes <[email protected]> CC: Sven Schnelle <[email protected]> CC: Vasily Gorbik <[email protected]> Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions