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
This commit is contained in:
parent
5c3b63cdba
commit
111136e69c
4 changed files with 21 additions and 19 deletions
|
|
@ -194,8 +194,7 @@ struct resctrl_schema {
|
|||
/* The number of closid supported by this resource regardless of CDP */
|
||||
u32 resctrl_arch_get_num_closid(struct rdt_resource *r);
|
||||
int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid);
|
||||
void resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d,
|
||||
u32 closid, enum resctrl_conf_type type,
|
||||
u32 *value);
|
||||
u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_domain *d,
|
||||
u32 closid, enum resctrl_conf_type type);
|
||||
|
||||
#endif /* _RESCTRL_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue