Re: [PATCH 06/17] mshv: SynIC port and connection hypercalls

From: Vineeth Pillai
Date: Tue Jun 29 2021 - 12:20:02 EST



On 6/29/2021 8:55 AM, Wei Liu wrote:

+ if (status != HV_STATUS_INSUFFICIENT_MEMORY) {
+ pr_err("%s: %s\n",
+ __func__, hv_status_to_string(status));
+ ret = -hv_status_to_errno(status);
In Nuno's "x86/hyperv: convert hyperv statuses to linux error codes"
patch, hv_status_to_errno() already returns negatives:
Yes, this needs to be fixed otherwise one of the following patch has the
error handling check reversed.
Sorry I missed replying to this. Thanks Vitaly and Wei, I will have this fixed in the
next iteration.

~Vineeth