[PATCH 13/14] tools/xenmon: xenbaked: Mark const the field text in stat_map_t

2021-04-05 Thread Julien Grall
From: Julien Grall The field text in stat_map_t will point to string literals. So mark it as const to allow the compiler to catch any modified of the string. Signed-off-by: Julien Grall --- tools/xenmon/xenbaked.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenmon

Re: [PATCH 13/14] tools/xenmon: xenbaked: Mark const the field text in stat_map_t

2021-05-11 Thread Anthony PERARD
On Mon, Apr 05, 2021 at 04:57:12PM +0100, Julien Grall wrote: > From: Julien Grall > > The field text in stat_map_t will point to string literals. So mark it > as const to allow the compiler to catch any modified of the string. > > Signed-off-by: Julien Grall Reviewed-by: Anthony PERARD Than