evtchn: change evtchn port type to evtchn_port_t
authorYan Yankovskyi <yyankovskyi@gmail.com>
Tue, 24 Mar 2020 09:50:38 +0000 (10:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Mar 2020 09:50:38 +0000 (10:50 +0100)
struct evtchn_set_priority uses uint32_t type for event channel port.
Replace the type with evtchn_port_t. Such change is also done in Linux.

Signed-off-by: Yan Yankovskyi <yyankovskyi@gmail.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/event_channel.h

index 44c549dd6b8768d809ce90a5f14cd1b16f4969ab..cfb7929fef7fa2580ad8bdb20744060fb08f48fe 100644 (file)
@@ -307,7 +307,7 @@ typedef struct evtchn_expand_array evtchn_expand_array_t;
  */
 struct evtchn_set_priority {
     /* IN parameters. */
-    uint32_t port;
+    evtchn_port_t port;
     uint32_t priority;
 };
 typedef struct evtchn_set_priority evtchn_set_priority_t;