aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorJason Wessel <[email protected]>2012-03-29 11:17:17 +0000
committerJason Wessel <[email protected]>2012-03-29 22:41:23 +0000
commit78724b8ef83fc2bcfbc0a72a7ad8a3ce5ad25e6a (patch)
treef1f9bfae9d197765d361779a458aa1dfdb135193 /lib/mpi/mpi-inline.c
parentkdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint (diff)
downloadkernel-78724b8ef83fc2bcfbc0a72a7ad8a3ce5ad25e6a.tar.gz
kernel-78724b8ef83fc2bcfbc0a72a7ad8a3ce5ad25e6a.zip
kdb: Fix smatch warning on dbg_io_ops->is_console
The Smatch tool warned that the change from commit b8adde8dd (kdb: Avoid using dbg_io_ops until it is initialized) should add another null check later in the kdb_printf(). It is worth noting that the second use of dbg_io_ops->is_console is protected by the KDB_PAGER state variable which would only get set when kdb is fully active and initialized. If we ever encounter changes or defects in the KDB_PAGER state we do not want to crash the kernel in a kdb_printf/printk. CC: Tim Bird <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jason Wessel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions