Hi Juergen, On 9/11/26 12:45 AM, Juergen Gross wrote: > Today rdmsrq() is a macro using its second parameter as the target for > storing the read MSR value. > > Convert rdmsrq() to an inline function returning the MSR value. > > The users have been converted using the following semantic patch: > > // Options: --include-headers > > virtual patch > virtual report > > @@ > expression msr, val; > @@ > ( > - rdmsrq(msr,val) > + val = rdmsrq(msr) > ) > > Signed-off-by: Juergen Gross <[email protected]> > Acked-by: Damien Le Moal <[email protected]> # ATA > Reviewed-by: Michael Kelley <[email protected]> # Hyper-V > ---
... > arch/x86/kernel/cpu/resctrl/core.c | 2 +-> > arch/x86/kernel/cpu/resctrl/monitor.c | 4 +-- > arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 4 +-- > arch/x86/kernel/cpu/resctrl/rdtgroup.c | 2 +- Thank you. Acked-by: Reinette Chatre <[email protected]> # resctrl Reinette

