x86/resctrl: Make resctrl_arch_get_config() return its value
authorJames Morse <james.morse@arm.com>
Wed, 11 Aug 2021 16:38:31 +0000 (16:38 +0000)
committerBorislav Petkov <bp@suse.de>
Wed, 11 Aug 2021 16:42:53 +0000 (18:42 +0200)
commit111136e69c9df50c3ca7d4e3977344b8a2d0d947
treeec4d79b3c0b13a94b278fb2bead57011056476ae
parent5c3b63cdba441c6a530b974ff73b14161d96a0c3
x86/resctrl: Make resctrl_arch_get_config() return its value

resctrl_arch_get_config() has no return, but does pass a single value
back via one of its arguments.

Return the value instead.

Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210811163831.14917-1-james.morse@arm.com
arch/x86/kernel/cpu/resctrl/ctrlmondata.c
arch/x86/kernel/cpu/resctrl/monitor.c
arch/x86/kernel/cpu/resctrl/rdtgroup.c
include/linux/resctrl.h