All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] lib: Fix bitmap_cut() for overlaps, add test
@ 2020-06-08  9:13 Stefano Brivio
  2020-06-08  9:13 ` [PATCH 1/2] lib: Fix bitmap_cut() for partial overlapping case Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Stefano Brivio @ 2020-06-08  9:13 UTC (permalink / raw)
  To: Andrew Morton, Andy Shevchenko
  Cc: Yury Norov, Rasmus Villemoes, Pablo Neira Ayuso, linux-kernel

Patch 1/2 addresses the issue Yury reported with partially overlapping
src and dst in bitmap_cut(), and 2/2 adds a test that covers basic
functionality as well as this case.


Stefano Brivio (2):
  lib: Fix bitmap_cut() for partial overlapping case
  lib: Add test for bitmap_cut()

 lib/bitmap.c      |  4 ++--
 lib/test_bitmap.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 2 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/2] lib: Fix bitmap_cut() for overlaps, add test
@ 2020-06-14 17:40 Stefano Brivio
  0 siblings, 0 replies; 11+ messages in thread
From: Stefano Brivio @ 2020-06-14 17:40 UTC (permalink / raw)
  To: Andrew Morton, Andy Shevchenko
  Cc: Yury Norov, Rasmus Villemoes, Pablo Neira Ayuso, linux-kernel

Patch 1/2 addresses the issue Yury reported with partially overlapping
src and dst in bitmap_cut(), and 2/2 adds a test that covers basic
functionality as well as this case.

v2: In 2/2, use macro to verify result, drop bogus Co-Authored-by:
    tag, both suggested by Andy Shevchenko, and avoid stack overflow

Stefano Brivio (2):
  bitmap: Fix bitmap_cut() for partial overlapping case
  bitmap: Add test for bitmap_cut()

 lib/bitmap.c      |  4 ++--
 lib/test_bitmap.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+), 2 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-06-14 17:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-08  9:13 [PATCH 0/2] lib: Fix bitmap_cut() for overlaps, add test Stefano Brivio
2020-06-08  9:13 ` [PATCH 1/2] lib: Fix bitmap_cut() for partial overlapping case Stefano Brivio
2020-06-08  9:13 ` [PATCH 2/2] lib: Add test for bitmap_cut() Stefano Brivio
2020-06-08 10:12   ` Andy Shevchenko
2020-06-08 10:27     ` Stefano Brivio
2020-06-08 11:31       ` Andy Shevchenko
2020-06-08 11:51         ` Stefano Brivio
2020-06-10  7:42   ` [lib] 0a1d3d4a3c: Kernel_panic-not_syncing:stack-protector:Kernel_stack_is_corrupted_in:test_bitmap_init kernel test robot
2020-06-10  7:42     ` kernel test robot
2020-06-08 10:13 ` [PATCH 0/2] lib: Fix bitmap_cut() for overlaps, add test Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2020-06-14 17:40 Stefano Brivio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.