[PATCH 4/5] Fixing the printing the data that can be referenced by the null pointer
Kishore Padmanabha
kishore.padmanabha at broadcom.com
Mon Sep 21 21:56:26 CEST 2026
Missing Signed-off-by, No commit message, The patch treats a symptom that
does not exist in sane path and doesn't in the representor path. So
rejecting the change.
On Tue, Sep 15, 2026 at 5:55 AM Evgeny Sokolov <Evgeny.Sokolov at infotecs.ru>
wrote:
> From: Sokolov Evgeny <Evgeny.Sokolov at infotecs.ru>
>
> ---
> drivers/net/bnxt/bnxt_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bnxt/bnxt_ethdev.c
> b/drivers/net/bnxt/bnxt_ethdev.c
> index 920b298486..6da4247a7a 100644
> --- a/drivers/net/bnxt/bnxt_ethdev.c
> +++ b/drivers/net/bnxt/bnxt_ethdev.c
> @@ -1408,7 +1408,7 @@ void bnxt_print_link_info(struct rte_eth_dev
> *eth_dev)
> (uint32_t)link->link_speed,
> (link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ?
> ("full-duplex") : ("half-duplex"),
> - (uint16_t)bp->link_info->active_lanes);
> +
> (bp->link_info)?(uint16_t)bp->link_info->active_lanes:-1);
> else
> PMD_DRV_LOG_LINE(INFO, "Port %d Link Down",
> eth_dev->data->port_id);
> }
> --
> 2.39.5
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20260921/baa15c25/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5493 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mails.dpdk.org/archives/stable/attachments/20260921/baa15c25/attachment.bin>
More information about the stable
mailing list