Skip to content

Commit

Permalink
add testvbug1.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
eebssk1 committed May 30, 2024
1 parent 19d9b4e commit 0ccdf1a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patch/cp/testvbug1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/lib/sbitmap.c 2024-05-17 17:28:47.000000000 +0000
+++ b/lib/sbitmap.c 2024-05-30 18:52:44.131103622 +0000
@@ -534,7 +534,7 @@
int sbitmap_queue_get_shallow(struct sbitmap_queue *sbq,
unsigned int shallow_depth)
{
- WARN_ON_ONCE(shallow_depth < sbq->min_shallow_depth);
+ WARN_ONCE(shallow_depth < sbq->min_shallow_depth, "Shallow depth error! Current: %d Min: %d\n", shallow_depth, sbq->min_shallow_depth);

return sbitmap_get_shallow(&sbq->sb, shallow_depth);
}

0 comments on commit 0ccdf1a

Please sign in to comment.