[04/11] net/sfc: fix driver logtype token

Message ID 20240907145433.1479091-5-david.marchand@redhat.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Headers
Series Use RTE_LOG_LINE in drivers |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

David Marchand Sept. 7, 2024, 2:54 p.m. UTC
The net/sfc driver logtype was registered under pmd.net.sfc."driver".

Fixes: 0f39f32482a1 ("net/sfc: remove use of EAL logtype")

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/sfc/sfc_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Andrew Rybchenko Sept. 8, 2024, 8:35 a.m. UTC | #1
On 9/7/24 17:54, David Marchand wrote:
> The net/sfc driver logtype was registered under pmd.net.sfc."driver".
> 
> Fixes: 0f39f32482a1 ("net/sfc: remove use of EAL logtype")
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
>   drivers/net/sfc/sfc_ethdev.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
> index 24686a1eaf..3480a51642 100644
> --- a/drivers/net/sfc/sfc_ethdev.c
> +++ b/drivers/net/sfc/sfc_ethdev.c
> @@ -3616,4 +3616,4 @@ RTE_PMD_REGISTER_PARAM_STRING(net_sfc_efx,
>   	SFC_KVARG_FW_VARIANT "=" SFC_KVARG_VALUES_FW_VARIANT " "
>   	SFC_KVARG_RXD_WAIT_TIMEOUT_NS "=<long> "
>   	SFC_KVARG_STATS_UPDATE_PERIOD_MS "=<long>");
> -RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, "driver", NOTICE);
> +RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, driver, NOTICE);

Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
  

Patch

diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
index 24686a1eaf..3480a51642 100644
--- a/drivers/net/sfc/sfc_ethdev.c
+++ b/drivers/net/sfc/sfc_ethdev.c
@@ -3616,4 +3616,4 @@  RTE_PMD_REGISTER_PARAM_STRING(net_sfc_efx,
 	SFC_KVARG_FW_VARIANT "=" SFC_KVARG_VALUES_FW_VARIANT " "
 	SFC_KVARG_RXD_WAIT_TIMEOUT_NS "=<long> "
 	SFC_KVARG_STATS_UPDATE_PERIOD_MS "=<long>");
-RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, "driver", NOTICE);
+RTE_LOG_REGISTER_SUFFIX(sfc_logtype_driver, driver, NOTICE);