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)
commit32d375f6f24c3e4c9c235672695b4c314cf6b964
treede88ecb16da03a74a833c525d360cc83dcbba141
parentfb6daa7520f9d17a97e84a3d5a947819e0313f28
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