Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1649564
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | bitmap API consistency |
| Date | 2017-05-24 14:20 +0200 |
| Message-ID | <tKDqG-2fU-15@gated-at.bofh.it> (permalink) |
| Organization | Intel Finland Oy |
Hi! Surprisingly discovered today that bitmap API is not consistent in some cases (at least one I found recently). bitmap_fill() sets area of bits in a bitmap. bitmap_zero() clears them. However, if _fill() does something sane, _zero() clears _all_ bits up to word size (long). I think it should be fixed to be consistent with _fill() variant. Thoughts? -- Andy Shevchenko <andriy.shevchenko@linux.intel.com> Intel Finland Oy
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
bitmap API consistency Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-05-24 14:20 +0200
Re: bitmap API consistency Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2017-05-24 14:40 +0200
Re: bitmap API consistency Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-05-24 14:50 +0200
csiph-web