Re: [PATCH] ntb_hw_amd: Fix incorrect debug message in link disable path

Dave Jiang <[email protected]>
Newsgroups dev.linux.lists.ntb
Message-ID <[email protected]>

On 2/8/26 9:49 AM, Alok Tiwari wrote:
> amd_ntb_link_disable() prints "Enabling Link" which is misleading.
> Update the message to reflect that the link is being disabled.
> 
> Signed-off-by: Alok Tiwari <[email protected]>

Reviewed-by: Dave Jiang <[email protected]>

> ---
>  drivers/ntb/hw/amd/ntb_hw_amd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/ntb/hw/amd/ntb_hw_amd.c b/drivers/ntb/hw/amd/ntb_hw_amd.c
> index 1a163596ddf5..df9150669ad3 100644
> --- a/drivers/ntb/hw/amd/ntb_hw_amd.c
> +++ b/drivers/ntb/hw/amd/ntb_hw_amd.c
> @@ -376,7 +376,7 @@ static int amd_ntb_link_disable(struct ntb_dev *ntb)
>  
>  	if (ndev->ntb.topo == NTB_TOPO_SEC)
>  		return -EINVAL;
> -	dev_dbg(&ntb->pdev->dev, "Enabling Link.\n");
> +	dev_dbg(&ntb->pdev->dev, "Disabling Link.\n");
>  
>  	return 0;
>  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.