Re: [PATCH 12/19] drivers/hv: run vp ioctl and isr

From: Wei Liu
Date: Sat May 29 2021 - 17:57:26 EST


On Fri, May 28, 2021 at 03:43:32PM -0700, Nuno Das Neves wrote:
[...]
> int mshv_synic_init(unsigned int cpu)
> {
> union hv_synic_simp simp;
> @@ -30,7 +126,7 @@ int mshv_synic_init(unsigned int cpu)
> *msg_page = memremap(simp.base_simp_gpa << HV_HYP_PAGE_SHIFT,
> HV_HYP_PAGE_SIZE,
> MEMREMAP_WB);
> - if (!msg_page) {
> + if (!(*msg_page)) {

This hunk belongs to the previous patch in which you introduced this
function, not this one.

Wei.