Re: [PATCH] KVM: x86: Make enum conversion explicit in kvm_pdptr_read()

2018-03-07 Thread Radim Krčmář
2018-02-26 14:42-0800, Matthias Kaehlcke: > The type 'enum kvm_reg_ex' is an extension of 'enum kvm_reg', however > the extension is only semantical and the compiler doesn't know about the > relationship between the two types. In kvm_pdptr_read() a value of the > extended type is passed to kvm_x86_

Re: [PATCH] KVM: x86: Make enum conversion explicit in kvm_pdptr_read()

2018-02-26 Thread Guenter Roeck
On Mon, Feb 26, 2018 at 2:42 PM, Matthias Kaehlcke wrote: > The type 'enum kvm_reg_ex' is an extension of 'enum kvm_reg', however > the extension is only semantical and the compiler doesn't know about the > relationship between the two types. In kvm_pdptr_read() a value of the > extended type is p