[PATCH v2] x86/resctrl: fix the uninitialized variable warning

2018-11-28 Thread Moger, Babu
Fix the following compiler warning caused by recent change. arch/x86/kernel/cpu/resctrl/ctrlmondata.c:227 parse_cbm() error: uninitialized symbol 'cbm_val' Fixes: a36c5ff560fb ("x86/resctrl: Bring cbm_validate() into the resource structure") Reported-by: Dan Carpenter Signed-off-by: Babu

[PATCH v2] x86/resctrl: fix the uninitialized variable warning

2018-11-28 Thread Moger, Babu
Fix the following compiler warning caused by recent change. arch/x86/kernel/cpu/resctrl/ctrlmondata.c:227 parse_cbm() error: uninitialized symbol 'cbm_val' Fixes: a36c5ff560fb ("x86/resctrl: Bring cbm_validate() into the resource structure") Reported-by: Dan Carpenter Signed-off-by: Babu