On 22.04.25 10:21, Xin Li (Intel) wrote:
set_reg() is used to write the following MSRs on Xen:

     MSR_FS_BASE
     MSR_KERNEL_GS_BASE
     MSR_GS_BASE

But none of these MSRs are written using any MSR write safe API.
Therefore there is no need to pass an error pointer argument to
set_reg() for returning an error code to be used in MSR safe APIs.

set_seg(), please (further up, too).


Remove the error pointer argument.

Signed-off-by: Xin Li (Intel) <x...@zytor.com>

Reviewed-by: Juergen Gross <jgr...@suse.com>


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to