]> 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)
commit027b31b63cbab1ac982cc6d408cb3947bf79e4b6
treede88ecb16da03a74a833c525d360cc83dcbba141
parent876c09899f7814f29d4a11ac0e1d4a4fd0dab136
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