[PATCH 22/23] perf config: Check error cases of {show_spec, set}_config()

2017-06-19 Thread Arnaldo Carvalho de Melo
From: Taeung Song show_spec_config() and set_config() can be called multiple times in the loop in cmd_config(). However, The error cases of them wasn't checked, so fix it. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Taeung Song

[PATCH 22/23] perf config: Check error cases of {show_spec, set}_config()

2017-06-19 Thread Arnaldo Carvalho de Melo
From: Taeung Song show_spec_config() and set_config() can be called multiple times in the loop in cmd_config(). However, The error cases of them wasn't checked, so fix it. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Link: