diff options
author | Yan Yankovskyi <yyankovskyi@gmail.com> | 2020-03-23 19:15:11 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2020-04-07 13:12:54 +0300 |
commit | 0102e4efda76d0721bc744dd80258eb6cfa25fc3 (patch) | |
tree | 223fbcfbd53559d99a828b32b7cbfc295d589638 /include/xen/interface | |
parent | c3881eb58d56116c79ac4ee4f40fd15ead124c4b (diff) | |
download | linux-0102e4efda76d0721bc744dd80258eb6cfa25fc3.tar.xz |
xen: Use evtchn_type_t as a type for event channels
Make event channel functions pass event channel port using
evtchn_port_t type. It eliminates signed <-> unsigned conversion.
Signed-off-by: Yan Yankovskyi <yyankovskyi@gmail.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20200323152343.GA28422@kbp1-lhp-F74019
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/interface')
-rw-r--r-- | include/xen/interface/event_channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/interface/event_channel.h b/include/xen/interface/event_channel.h index 45650c9a06d5..cf80e338fbb0 100644 --- a/include/xen/interface/event_channel.h +++ b/include/xen/interface/event_channel.h @@ -220,7 +220,7 @@ struct evtchn_expand_array { #define EVTCHNOP_set_priority 13 struct evtchn_set_priority { /* IN parameters. */ - uint32_t port; + evtchn_port_t port; uint32_t priority; }; |