summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-04-12 19:21:19 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-04-12 19:21:19 +0200
commitcb098d50ecc0a4729507ddcc7f4ae98c3703fadd (patch)
tree444db3ac525576f4ac3e9779c449e403eb5db4c6 /drivers/misc
parentMerge tag 'microblaze-4.17-rc1' of git://git.monstr.eu/linux-2.6-microblaze (diff)
parentkdb: use memmove instead of overlapping memcpy (diff)
downloadlinux-cb098d50ecc0a4729507ddcc7f4ae98c3703fadd.tar.xz
linux-cb098d50ecc0a4729507ddcc7f4ae98c3703fadd.zip
Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb
Pull kdb updates from Jason Wessel: - fix 2032 time access issues and new compiler warnings - minor regression test cleanup - formatting fixes for end user use of kdb * tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/kgdb: kdb: use memmove instead of overlapping memcpy kdb: use ktime_get_mono_fast_ns() instead of ktime_get_ts() kdb: bl: don't use tab character in output kdb: drop newline in unknown command output kdb: make "mdr" command repeat kdb: use __ktime_get_real_seconds instead of __current_kernel_time misc: kgdbts: Display progress of asynchronous tests
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/kgdbts.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index 24108bfad889..6193270e7b3d 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -400,10 +400,14 @@ static void skip_back_repeat_test(char *arg)
int go_back = simple_strtol(arg, NULL, 10);
repeat_test--;
- if (repeat_test <= 0)
+ if (repeat_test <= 0) {
ts.idx++;
- else
+ } else {
+ if (repeat_test % 100 == 0)
+ v1printk("kgdbts:RUN ... %d remaining\n", repeat_test);
+
ts.idx -= go_back;
+ }
fill_get_buf(ts.tst[ts.idx].get);
}