* [Xen-devel] [PATCH 2/2] evtchn: Change evtchn port type to evtchn_port_t
@ 2020-03-23 5:35 Yan Yankovskyi
2020-03-23 7:49 ` Jan Beulich
0 siblings, 1 reply; 2+ messages in thread
From: Yan Yankovskyi @ 2020-03-23 5:35 UTC (permalink / raw)
To: Boris Ostrovsky, Jan Beulich
Cc: Juergen Gross, xen-devel, Stefano Stabellini, linux-kernel
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>
---
xen/include/public/event_channel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/include/public/event_channel.h b/xen/include/public/event_channel.h
index 44c549dd6b..cfb7929fef 100644
--- a/xen/include/public/event_channel.h
+++ b/xen/include/public/event_channel.h
@@ -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;
--
2.17.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Xen-devel] [PATCH 2/2] evtchn: Change evtchn port type to evtchn_port_t
2020-03-23 5:35 [Xen-devel] [PATCH 2/2] evtchn: Change evtchn port type to evtchn_port_t Yan Yankovskyi
@ 2020-03-23 7:49 ` Jan Beulich
0 siblings, 0 replies; 2+ messages in thread
From: Jan Beulich @ 2020-03-23 7:49 UTC (permalink / raw)
To: Yan Yankovskyi
Cc: Juergen Gross, xen-devel, Boris Ostrovsky, Stefano Stabellini,
linux-kernel
On 23.03.2020 06:35, Yan Yankovskyi wrote:
> 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>
As a general remark, the order of changes would better be the other way
around: The canonical header in the Xen repo be adjusted first, and the
change then propagated to repos carrying clones.
Thanks, Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-23 7:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 5:35 [Xen-devel] [PATCH 2/2] evtchn: Change evtchn port type to evtchn_port_t Yan Yankovskyi
2020-03-23 7:49 ` Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).