xen/sched: Constify name and opt_name in struct scheduler
authorJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 18:34:08 +0000 (19:34 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 6 Apr 2021 19:03:10 +0000 (20:03 +0100)
commit1f0358093c101b170f7516779b70d3c8e11965ef
tree080541bbdaa0a51d373234c94b7dec1dce8741b3
parent91df35e32b0c624df4b326329336df770844d932
xen/sched: Constify name and opt_name in struct scheduler

Both name and opt_name are pointing to literal string. So mark both of
the fields as const.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched/private.h