]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
evtchn: ECS_CLOSED => ECS_FREE
authorJan Beulich <jbeulich@suse.com>
Wed, 30 Sep 2020 07:12:21 +0000 (09:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Sep 2020 07:12:21 +0000 (09:12 +0200)
There's no ECS_CLOSED; correct a comment naming it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/common/event_channel.c

index 161cbb77d22a86b33bef672965612f5ca4457a9d..2412e632047d3255d8911ec1ddbb577136f98553 100644 (file)
@@ -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;