On 18.05.2021 16:01, Julien Grall wrote:
> From: Julien Grall <[email protected]>
> 
> Literal strings are not meant to be modified. So we should use const
> char * rather than char * when we want to store a pointer to them.
> 
> The array should also not be modified at all and is only used by
> xenlog_update_val(). So take the opportunity to add an extra const and
> move the definition in the function.
> 
> Signed-off-by: Julien Grall <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>

Reply via email to