lkml.org 
[lkml]   [2014]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] [PATCH] Make bind_interdomain_evtchn_to_irq() public
On 08/13/2014 11:54 AM, David Vrabel wrote:
> On 13/08/14 10:43, Juergen Gross wrote:
>>
>> static int scsiback_init_sring(struct vscsibk_info *info, grant_ref_t
>> ring_ref,
>> evtchn_port_t evtchn)
>> {
>> ...
>> irq = bind_interdomain_evtchn_to_irq(info->domid, evtchn);
>> request_threaded_irq(irq, NULL, scsiback_irq_fn,
>> IRQF_ONESHOT, "vscsiif-backend", info)
>> ...
>
> This usage is fine.
>
> I assume the error checking of bind_interdomain_evtchn_to_irq() and
> request_threaded_irq() was omitted for clarity in this example?

Sure.


Juergen


\
 
 \ /
  Last update: 2014-08-13 12:21    [W:0.045 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site