summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYury Norov <yury.norov@gmail.com>2022-04-28 22:51:12 +0200
committerYury Norov <yury.norov@gmail.com>2022-06-03 15:52:58 +0200
commite041e0ac53dd52d2d201aa87edc3adaca1085299 (patch)
tree6c77b6ff337b35827d55e3d1770798e815ff97ea /lib
parentinclude/linux/find: Fix documentation (diff)
downloadlinux-e041e0ac53dd52d2d201aa87edc3adaca1085299.tar.xz
linux-e041e0ac53dd52d2d201aa87edc3adaca1085299.zip
lib/bitmap: extend comment for bitmap_(from,to)_arr32()
On LE systems bitmaps are naturally ordered, therefore we can potentially use bitmap_copy routines when converting from 32-bit arrays, even if host system is 64-bit. But it may lead to out-of-bond access due to unsafe typecast, and the bitmap_(from,to)_arr32 comment doesn't explain that clearly CC: Alexander Gordeev <agordeev@linux.ibm.com> CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com> CC: Christian Borntraeger <borntraeger@linux.ibm.com> CC: Claudio Imbrenda <imbrenda@linux.ibm.com> CC: David Hildenbrand <david@redhat.com> CC: Heiko Carstens <hca@linux.ibm.com> CC: Janosch Frank <frankja@linux.ibm.com> CC: Rasmus Villemoes <linux@rasmusvillemoes.dk> CC: Sven Schnelle <svens@linux.ibm.com> CC: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions