Re: [PATCH] can: can327: Fix a broken link to Documentation

From: Max Staudt
Date: Sun Jul 31 2022 - 04:45:13 EST


Thanks, Christophe!

Max




On Sun, 31 Jul 2022 08:32:52 +0200
Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> Since commit 482a4360c56a ("docs: networking: convert netdevices.txt to
> ReST"), Documentation/networking/netdevices.txt has been replaced by
> Documentation/networking/netdevices.rst.
>
> Update the comment accordingly to avoid a 'make htmldocs' warning
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/net/can/can327.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/can/can327.c b/drivers/net/can/can327.c
> index 5da7778d92dc..925e880bf570 100644
> --- a/drivers/net/can/can327.c
> +++ b/drivers/net/can/can327.c
> @@ -827,7 +827,7 @@ static netdev_tx_t can327_netdev_start_xmit(struct sk_buff *skb,
> netif_stop_queue(dev);
>
> /* BHs are already disabled, so no spin_lock_bh().
> - * See Documentation/networking/netdevices.txt
> + * See Documentation/networking/netdevices.rst
> */
> spin_lock(&elm->lock);
> can327_send_frame(elm, frame);