aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hv/hv_kvp.c')
-rw-r--r--drivers/hv/hv_kvp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index cfe60b02e3e8..6186025209ce 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -289,14 +289,15 @@ kvp_respond_to_host(char *key, char *value, int error)
289 289
290 290
291 /* 291 /*
292 * If the error parameter is set, terminate the host's enumeration. 292 * If the error parameter is set, terminate the host's enumeration
293 * on this pool.
293 */ 294 */
294 if (error) { 295 if (error) {
295 /* 296 /*
296 * Something failed or the we have timedout; 297 * Something failed or the we have timedout;
297 * terminate the host-side iteration by returning an error. 298 * terminate the current host-side iteration.
298 */ 299 */
299 icmsghdrp->status = HV_E_FAIL; 300 icmsghdrp->status = HV_S_CONT;
300 goto response_done; 301 goto response_done;
301 } 302 }
302 303