* [PATCH] raw/cnxk_gpio: stop device once tests are complete
@ 2022-02-25 14:55 Tomasz Duszynski
2022-02-27 16:10 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Duszynski @ 2022-02-25 14:55 UTC (permalink / raw)
To: dev, Jakub Palider, Tomasz Duszynski; +Cc: thomas, jerinj
Started device should eventually be stopped.
Fixes: 0e6557b448fa ("raw/cnxk_gpio: add self test")
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
---
drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c b/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
index acb65afa65..10742b5dc4 100644
--- a/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
+++ b/drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c
@@ -390,6 +390,7 @@ cnxk_gpio_selftest(uint16_t dev_id)
out:
close(fd);
+ rte_rawdev_stop(dev_id);
return ret;
}
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] raw/cnxk_gpio: stop device once tests are complete
2022-02-25 14:55 [PATCH] raw/cnxk_gpio: stop device once tests are complete Tomasz Duszynski
@ 2022-02-27 16:10 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2022-02-27 16:10 UTC (permalink / raw)
To: Tomasz Duszynski; +Cc: dev, Jakub Palider, jerinj
25/02/2022 15:55, Tomasz Duszynski:
> Started device should eventually be stopped.
>
> Fixes: 0e6557b448fa ("raw/cnxk_gpio: add self test")
>
> Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
> Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-27 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 14:55 [PATCH] raw/cnxk_gpio: stop device once tests are complete Tomasz Duszynski
2022-02-27 16:10 ` Thomas Monjalon
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).