Files
android_kernel_xiaomi_sm8450/include/linux
Andy Shevchenko 334cfa48d3 include/linux/bitmap.h: make bitmap_fill() and bitmap_zero() consistent
Behaviour of bitmap_fill() differs from bitmap_zero() in a way how bits
behind bitmap are handed.  bitmap_zero() clears entire bitmap by unsigned
long boundary, while bitmap_fill() mimics bitmap_set().

Here we change bitmap_fill() behaviour to be consistent with bitmap_zero()
and add a note to documentation.

The change might reveal some bugs in the code where unused bits are
handled differently and in such cases bitmap_set() has to be used.

Link: http://lkml.kernel.org/r/20180109172430.87452-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yury Norov <ynorov@caviumnetworks.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-02-06 18:32:44 -08:00
..
2017-11-28 16:30:38 +01:00
2018-01-01 22:54:42 -08:00
2018-01-02 13:59:16 -05:00
2017-11-30 16:55:35 +00:00
2017-11-15 18:21:04 -08:00
2017-12-19 16:35:34 -08:00
2018-01-03 14:03:48 +01:00
2017-08-24 13:23:03 -07:00
2017-11-27 16:19:56 -05:00
2018-01-01 12:40:27 -07:00
2018-01-25 14:10:39 -08:00
2017-11-13 01:41:20 +01:00
2017-11-15 18:21:06 -08:00
2018-01-16 00:04:19 +01:00
2018-01-17 11:30:16 +00:00
2017-11-15 18:21:05 -08:00
2017-12-29 21:13:04 +01:00
2017-11-17 16:10:04 -08:00
2017-10-12 15:41:05 +02:00
2017-11-15 18:21:01 -08:00
2017-12-01 13:09:40 -08:00
2017-10-07 10:45:02 -06:00
2017-08-28 20:51:22 +02:00
2018-01-03 11:00:22 -05:00
2018-01-31 17:18:38 -08:00
2018-01-31 17:18:37 -08:00
2017-11-17 16:10:00 -08:00
2018-01-28 22:17:24 -05:00
2018-01-08 08:22:45 -06:00
2018-01-08 08:22:45 -06:00
2017-12-14 16:00:49 -08:00
2018-01-31 17:18:40 -08:00
2017-11-15 18:21:06 -08:00
2018-01-31 17:18:37 -08:00
2017-11-09 10:23:28 +01:00
2017-11-17 16:10:04 -08:00
2017-11-17 16:10:04 -08:00
2017-11-13 01:33:48 +01:00
2017-12-16 02:05:48 +01:00
2017-11-27 16:19:55 -05:00
2017-12-11 14:37:11 -07:00
2017-11-29 22:16:31 +01:00
2017-11-07 12:22:21 +01:00
2017-11-27 16:19:55 -05:00
2018-01-29 12:02:54 -05:00
2018-01-18 11:56:49 +01:00
2018-01-15 12:07:46 -08:00
2018-01-15 09:35:45 +01:00
2018-01-09 16:27:43 +01:00
2017-10-11 22:36:54 -04:00
2018-02-06 18:32:44 -08:00
2017-12-20 09:53:54 -07:00
2017-10-04 10:29:22 +02:00
2017-11-27 16:19:54 -05:00
2017-08-15 09:02:07 -07:00
2017-08-15 09:02:08 -07:00