Acked-by: Hemant Agrawal <hemant.agra...@nxp.com>
> -----Original Message-----
> From: Tomasz Duszynski <tduszyn...@marvell.com>
> Sent: Monday, July 24, 2023 7:07 PM
> To: dev@dpdk.org; Sachin Saxena <sachin.sax...@nxp.com>; Hemant
> Agrawal <hemant.agra...@nxp.com>; Shreyansh Jain
> <shreyansh.j...@nxp.com>
> Cc: jer...@marvell.com; tho...@monjalon.net; Tomasz Duszynski
> <tduszyn...@marvell.com>; sta...@dpdk.org
> Subject: [PATCH] rawdev: fix device naming
> Importance: High
>
> Use proper naming when dealing with a raw device.
>
> Fixes: c88b3f2558ed ("rawdev: introduce raw device library")
> Cc: shreyansh.j...@nxp.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Tomasz Duszynski <tduszyn...@marvell.com>
> ---
> lib/rawdev/rte_rawdev.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c index
> dacaa60e22..474bdc9540 100644
> --- a/lib/rawdev/rte_rawdev.c
> +++ b/lib/rawdev/rte_rawdev.c
> @@ -505,8 +505,7 @@ rte_rawdev_pmd_allocate(const char *name, size_t
> dev_priv_size, int socket_id)
> uint16_t dev_id;
>
> if (rte_rawdev_pmd_get_named_dev(name) != NULL) {
> - RTE_RDEV_ERR("Event device with name %s already
> allocated!",
> - name);
> + RTE_RDEV_ERR("Raw device with name %s already
> allocated!", name);
> return NULL;
> }
>
> --
> 2.34.1