mirror of
https://github.com/dynup/kpatch
synced 2024-12-25 23:02:02 +00:00
e8f396229d
The printks in the integration tests aren't very useful and annoyingly fill up the dmesg buffer. Remove them by making them contingent on unlikely conditions.
14 lines
443 B
Diff
14 lines
443 B
Diff
Index: src/drivers/tty/tty_buffer.c
|
|
===================================================================
|
|
--- src.orig/drivers/tty/tty_buffer.c
|
|
+++ src/drivers/tty/tty_buffer.c
|
|
@@ -247,6 +247,8 @@ static int __tty_buffer_request_room(str
|
|
struct tty_buffer *b, *n;
|
|
int left, change;
|
|
|
|
+ if (!size)
|
|
+ printk("kpatch-test: testing .smp_locks section changes\n");
|
|
b = buf->tail;
|
|
if (b->flags & TTYB_NORMAL)
|
|
left = 2 * b->size - b->used;
|