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

From
Wei Liu <wei.liu@kernel.org>
Date
2021-05-29 21:55:57
Also in
lkml
Reply to
Nuno Das Neves, 2021-05-28
On Fri, May 28, 2021 at 03:43:32PM -0700, Nuno Das Neves wrote:
[...]
quoted hunk ↗ jump to hunk
 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.
Thread (37 messages) 37 messages, 6 authors, last reply 2021-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help