lkml.org 
[lkml]   [2020]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Xen-devel] [PATCH v3 1/2] xen: Use evtchn_type_t as a type for event channels
From
Date

On 3/23/20 1:33 AM, Yan Yankovskyi wrote:
> 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>



>
> @@ -1275,7 +1276,7 @@ void rebind_evtchn_irq(int evtchn, int irq)
>
> mutex_unlock(&irq_mapping_update_lock);
>
> - bind_evtchn_to_cpu(evtchn, info->cpu);
> + bind_evtchn_to_cpu(evtchn, info->cpu);


I'd leave this as is.



\
 
 \ /
  Last update: 2020-03-23 14:40    [W:0.038 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site