[GIT PULL] kgdb changes for v4.20-rc3

From: Daniel Thompson
Date: Tue Nov 13 2018 - 16:32:50 EST


Hi Linus

Normally pull requests for kgdb come from Jason Wessel but he's seems to
have been struggling for time this dev cycle so I've stepped in. That
I've put this together at (somewhat past) the last minute goes some way
to explaining why I've included some -Wimplicit-fallthrough fixes here.


The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad:

Linux 4.20-rc2 (2018-11-11 17:12:31 -0600)

are available in the Git repository at:

https://git.linaro.org/people/daniel.thompson/linux.git tags/kgdb-fixes-4.20-rc3

for you to fetch changes up to 646558ff1643467d3b941b47f519867cbca462c3:

kdb: kdb_support: mark expected switch fall-throughs (2018-11-13 20:38:50 +0000)

----------------------------------------------------------------
kgdb fixes for 4.20-rc3

The most important changes here are two fixes for kdb regressions causes by
the hashing of %p pointers together with a fix for a potential overflow in
kdb tab completion handling (and warning fix).

Also included are a set of changes in preparation to (eventually) enable
-Wimplicit-fallthrough.

Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

----------------------------------------------------------------
Christophe Leroy (2):
kdb: use correct pointer when 'btc' calls 'btt'
kdb: print real address of pointers instead of hashed addresses

Gustavo A. R. Silva (3):
kdb: kdb_main: refactor code in kdb_md_line
kdb: kdb_keyboard: mark expected switch fall-throughs
kdb: kdb_support: mark expected switch fall-throughs

Prarit Bhargava (1):
kdb: Use strscpy with destination buffer size

kernel/debug/kdb/kdb_bt.c | 4 ++--
kernel/debug/kdb/kdb_io.c | 15 +++++++++------
kernel/debug/kdb/kdb_keyboard.c | 4 ++--
kernel/debug/kdb/kdb_main.c | 35 ++++++++++-------------------------
kernel/debug/kdb/kdb_private.h | 2 +-
kernel/debug/kdb/kdb_support.c | 28 ++++++++++++++--------------
6 files changed, 38 insertions(+), 50 deletions(-)