diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-28 07:07:11 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-28 07:07:20 +0100 |
commit | 6b914c998787d65022e80d6262dfd0edef58cadb (patch) | |
tree | ec9d9605ae08e6e40664c4302a181979ab4fe1d3 /kernel/debug/kdb/kdb_main.c | |
parent | Merge tag 'cleanup_for_v3.9' of git://git.infradead.org/users/jcooper/linux i... (diff) | |
parent | Linux 3.8-rc5 (diff) | |
download | linux-6b914c998787d65022e80d6262dfd0edef58cadb.tar.xz linux-6b914c998787d65022e80d6262dfd0edef58cadb.zip |
Merge tag 'v3.8-rc5' into next/cleanup
Linux 3.8-rc5
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'kernel/debug/kdb/kdb_main.c')
-rw-r--r-- | kernel/debug/kdb/kdb_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 4d5f8d5612f3..8875254120b6 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c @@ -1970,6 +1970,8 @@ static int kdb_lsmod(int argc, const char **argv) kdb_printf("Module Size modstruct Used by\n"); list_for_each_entry(mod, kdb_modules, list) { + if (mod->state == MODULE_STATE_UNFORMED) + continue; kdb_printf("%-20s%8u 0x%p ", mod->name, mod->core_size, (void *)mod); |