From: Jan Beulich Date: Wed, 30 Sep 2020 07:12:21 +0000 (+0200) Subject: evtchn: ECS_CLOSED => ECS_FREE X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1576 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d72d6153be68f45e8f1c1b9e025cbfa625bbef6d;p=xen.git evtchn: ECS_CLOSED => ECS_FREE There's no ECS_CLOSED; correct a comment naming it. Signed-off-by: Jan Beulich Acked-by: Julien Grall Reviewed-by: Paul Durrant --- diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c index 161cbb77d2..2412e63204 100644 --- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -668,7 +668,7 @@ int evtchn_close(struct domain *d1, int port1, bool guest) * We can only get here if the port was closed and re-bound after * unlocking d1 but before locking d2 above. We could retry but * it is easier to return the same error as if we had seen the - * port in ECS_CLOSED. It must have passed through that state for + * port in ECS_FREE. It must have passed through that state for * us to end up here, so it's a valid error to return. */ rc = -EINVAL;