Message ID | 20201124080159.11912-6-paul@xen.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | xl / libxl: named PCI pass-through devices | expand |
Hi, Paul! On 11/24/20 10:01 AM, Paul Durrant wrote: > From: Paul Durrant <pdurrant@amazon.com> > > Simply spelling correction. Purely cosmetic fix. > > Signed-off-by: Paul Durrant <pdurrant@amazon.com> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Thank you, Oleksandr > --- > Cc: Ian Jackson <iwj@xenproject.org> > Cc: Wei Liu <wl@xen.org> > --- > tools/libs/light/libxl_pci.c | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c > index 50c96cbfa6..de617e95eb 100644 > --- a/tools/libs/light/libxl_pci.c > +++ b/tools/libs/light/libxl_pci.c > @@ -1864,7 +1864,7 @@ static void pci_remove_qmp_query_cb(libxl__egc *egc, > libxl__ev_qmp *qmp, const libxl__json_object *response, int rc); > static void pci_remove_timeout(libxl__egc *egc, > libxl__ev_time *ev, const struct timeval *requested_abs, int rc); > -static void pci_remove_detatched(libxl__egc *egc, > +static void pci_remove_detached(libxl__egc *egc, > pci_remove_state *prs, int rc); > static void pci_remove_stubdom_done(libxl__egc *egc, > libxl__ao_device *aodev); > @@ -1978,7 +1978,7 @@ skip1: > skip_irq: > rc = 0; > out_fail: > - pci_remove_detatched(egc, prs, rc); /* must be last */ > + pci_remove_detached(egc, prs, rc); /* must be last */ > } > > static void pci_remove_qemu_trad_watch_state_cb(libxl__egc *egc, > @@ -2002,7 +2002,7 @@ static void pci_remove_qemu_trad_watch_state_cb(libxl__egc *egc, > rc = qemu_pci_remove_xenstore(gc, domid, pci, prs->force); > > out: > - pci_remove_detatched(egc, prs, rc); > + pci_remove_detached(egc, prs, rc); > } > > static void pci_remove_qmp_device_del(libxl__egc *egc, > @@ -2028,7 +2028,7 @@ static void pci_remove_qmp_device_del(libxl__egc *egc, > return; > > out: > - pci_remove_detatched(egc, prs, rc); > + pci_remove_detached(egc, prs, rc); > } > > static void pci_remove_qmp_device_del_cb(libxl__egc *egc, > @@ -2051,7 +2051,7 @@ static void pci_remove_qmp_device_del_cb(libxl__egc *egc, > return; > > out: > - pci_remove_detatched(egc, prs, rc); > + pci_remove_detached(egc, prs, rc); > } > > static void pci_remove_qmp_retry_timer_cb(libxl__egc *egc, libxl__ev_time *ev, > @@ -2067,7 +2067,7 @@ static void pci_remove_qmp_retry_timer_cb(libxl__egc *egc, libxl__ev_time *ev, > return; > > out: > - pci_remove_detatched(egc, prs, rc); > + pci_remove_detached(egc, prs, rc); > } > > static void pci_remove_qmp_query_cb(libxl__egc *egc, > @@ -2127,7 +2127,7 @@ static void pci_remove_qmp_query_cb(libxl__egc *egc, > } > > out: > - pci_remove_detatched(egc, prs, rc); /* must be last */ > + pci_remove_detached(egc, prs, rc); /* must be last */ > } > > static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, > @@ -2146,12 +2146,12 @@ static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, > /* If we timed out, we might still want to keep destroying the device > * (when force==true), so let the next function decide what to do on > * error */ > - pci_remove_detatched(egc, prs, rc); > + pci_remove_detached(egc, prs, rc); > } > > -static void pci_remove_detatched(libxl__egc *egc, > - pci_remove_state *prs, > - int rc) > +static void pci_remove_detached(libxl__egc *egc, > + pci_remove_state *prs, > + int rc) > { > STATE_AO_GC(prs->aodev->ao); > int stubdomid = 0;
diff --git a/tools/libs/light/libxl_pci.c b/tools/libs/light/libxl_pci.c index 50c96cbfa6..de617e95eb 100644 --- a/tools/libs/light/libxl_pci.c +++ b/tools/libs/light/libxl_pci.c @@ -1864,7 +1864,7 @@ static void pci_remove_qmp_query_cb(libxl__egc *egc, libxl__ev_qmp *qmp, const libxl__json_object *response, int rc); static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, const struct timeval *requested_abs, int rc); -static void pci_remove_detatched(libxl__egc *egc, +static void pci_remove_detached(libxl__egc *egc, pci_remove_state *prs, int rc); static void pci_remove_stubdom_done(libxl__egc *egc, libxl__ao_device *aodev); @@ -1978,7 +1978,7 @@ skip1: skip_irq: rc = 0; out_fail: - pci_remove_detatched(egc, prs, rc); /* must be last */ + pci_remove_detached(egc, prs, rc); /* must be last */ } static void pci_remove_qemu_trad_watch_state_cb(libxl__egc *egc, @@ -2002,7 +2002,7 @@ static void pci_remove_qemu_trad_watch_state_cb(libxl__egc *egc, rc = qemu_pci_remove_xenstore(gc, domid, pci, prs->force); out: - pci_remove_detatched(egc, prs, rc); + pci_remove_detached(egc, prs, rc); } static void pci_remove_qmp_device_del(libxl__egc *egc, @@ -2028,7 +2028,7 @@ static void pci_remove_qmp_device_del(libxl__egc *egc, return; out: - pci_remove_detatched(egc, prs, rc); + pci_remove_detached(egc, prs, rc); } static void pci_remove_qmp_device_del_cb(libxl__egc *egc, @@ -2051,7 +2051,7 @@ static void pci_remove_qmp_device_del_cb(libxl__egc *egc, return; out: - pci_remove_detatched(egc, prs, rc); + pci_remove_detached(egc, prs, rc); } static void pci_remove_qmp_retry_timer_cb(libxl__egc *egc, libxl__ev_time *ev, @@ -2067,7 +2067,7 @@ static void pci_remove_qmp_retry_timer_cb(libxl__egc *egc, libxl__ev_time *ev, return; out: - pci_remove_detatched(egc, prs, rc); + pci_remove_detached(egc, prs, rc); } static void pci_remove_qmp_query_cb(libxl__egc *egc, @@ -2127,7 +2127,7 @@ static void pci_remove_qmp_query_cb(libxl__egc *egc, } out: - pci_remove_detatched(egc, prs, rc); /* must be last */ + pci_remove_detached(egc, prs, rc); /* must be last */ } static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, @@ -2146,12 +2146,12 @@ static void pci_remove_timeout(libxl__egc *egc, libxl__ev_time *ev, /* If we timed out, we might still want to keep destroying the device * (when force==true), so let the next function decide what to do on * error */ - pci_remove_detatched(egc, prs, rc); + pci_remove_detached(egc, prs, rc); } -static void pci_remove_detatched(libxl__egc *egc, - pci_remove_state *prs, - int rc) +static void pci_remove_detached(libxl__egc *egc, + pci_remove_state *prs, + int rc) { STATE_AO_GC(prs->aodev->ao); int stubdomid = 0;