]> git.baikalelectronics.ru Git - kernel.git/commit
kdb: Const qualifier for kdb_getstr's prompt argument
authorDaniel Thompson <daniel.thompson@linaro.org>
Thu, 11 Sep 2014 09:41:12 +0000 (10:41 +0100)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 19 Feb 2015 18:39:03 +0000 (12:39 -0600)
commit846cd806374da0a7176a62859fbe8d007714e5fb
treede88ecb16da03a74a833c525d360cc83dcbba141
parent0e7c0cf7e044ceb1c2ebec52fbca9e0b30784334
kdb: Const qualifier for kdb_getstr's prompt argument

All current callers of kdb_getstr() can pass constant pointers via the
prompt argument. This patch adds a const qualification to make explicit
the fact that this is safe.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/kdb/kdb_io.c
kernel/debug/kdb/kdb_private.h