[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] mini-os: Fix outdated init_netfront() calls
Costin Lupu, le jeu. 27 août 2020 19:45:36 +0300, a ecrit: > Commit 1b8ed31f changed the init_netfront() declaration. This patch fixes a > couple of calls that were overlooked for that initial commit. > > Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx> Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> > --- > netfront.c | 2 +- > test.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/netfront.c b/netfront.c > index 58eb55e..205484b 100644 > --- a/netfront.c > +++ b/netfront.c > @@ -576,7 +576,7 @@ error: > int netfront_tap_open(char *nodename) { > struct netfront_dev *dev; > > - dev = init_netfront(nodename, NETIF_SELECT_RX, NULL, NULL); > + dev = init_netfront(nodename, NETIF_SELECT_RX, NULL, NULL, NULL, NULL); > if (!dev) { > printk("TAP open failed\n"); > errno = EIO; > diff --git a/test.c b/test.c > index 42a2666..2e5f7f9 100644 > --- a/test.c > +++ b/test.c > @@ -91,7 +91,7 @@ static struct semaphore net_sem = > __SEMAPHORE_INITIALIZER(net_sem, 0); > > static void netfront_thread(void *p) > { > - net_dev = init_netfront(NULL, NULL, NULL, NULL); > + net_dev = init_netfront(NULL, NULL, NULL, NULL, NULL, NULL); > up(&net_sem); > } > #endif > -- > 2.20.1 > -- Samuel <y> ça gaze ? <l> prout -+- #ens-mim - ouvrez les fenêtres ! -+-
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |