[PATCH 11/14] tools/misc: Use const whenever we point to literal strings

2021-04-05 Thread Julien Grall
From: Julien Grall literal strings are not meant to be modified. So we should use const char * rather than char * when we we to store a pointer to them. Signed-off-by: Julien Grall --- tools/misc/xen-detect.c | 2 +- tools/misc/xenhypfs.c | 6 +++--- 2 files changed, 4 insertions(+), 4 delet

Re: [PATCH 11/14] tools/misc: Use const whenever we point to literal strings

2021-05-11 Thread Anthony PERARD
On Mon, Apr 05, 2021 at 04:57:10PM +0100, Julien Grall wrote: > From: Julien Grall > > literal strings are not meant to be modified. So we should use const > char * rather than char * when we we to store a pointer to them. > > Signed-off-by: Julien Grall Reviewed-by: Anthony PERARD Thanks,