Skip to content

Commit

Permalink
rawdev: fix device class in log message
Browse files Browse the repository at this point in the history
[ upstream commit eab2364c0e1bdb2a17ba601c1f7f48b213532e2a ]

Use proper naming when dealing with a raw device.

Fixes: c88b3f2 ("rawdev: introduce raw device library")

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  • Loading branch information
Tomasz Duszynski authored and bluca committed Oct 18, 2023
1 parent f44ac41 commit 365b547
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/librte_rawdev/rte_rawdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,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;
}

Expand Down

0 comments on commit 365b547

Please sign in to comment.