mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
HV:fix "Pointer param should be declared pointer to const"
Fix violations for function whose parameter can be read-only. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -329,7 +329,7 @@ static bool shell_input_line(void)
|
||||
return done;
|
||||
}
|
||||
|
||||
static int shell_process_cmd(char *p_input_line)
|
||||
static int shell_process_cmd(const char *p_input_line)
|
||||
{
|
||||
int status = -EINVAL;
|
||||
struct shell_cmd *p_cmd;
|
||||
|
||||
Reference in New Issue
Block a user