| Date | Tue, 28 Nov 2023 14:11:18 -0800 | Subject | Re: [PATCH v2 05/26] selftests/resctrl: Mark get_cache_size() cache_type const | From | Reinette Chatre <> |
| |
Hi Ilpo,
On 11/20/2023 3:13 AM, Ilpo Järvinen wrote: > get_cache_size() does not modify cache_type so it could be const. > > Mark cache_type const so that const char * can be passed to it. This > prevents warnings once many of the test parameters are marked const. > > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > ---
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Reinette
|