[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250428-tentacled-stoat-of-warranty-a9465c-mkl@pengutronix.de>
Date: Mon, 28 Apr 2025 10:50:21 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Antonios Salios <antonios@....re>
Cc: rcsekar@...sung.com, mailhol.vincent@...adoo.fr,
linux-can@...r.kernel.org, linux-kernel@...r.kernel.org, lukas@....re, jan@....re,
msp@...libre.com
Subject: Re: [PATCH v2] can: m_can: initialize spin lock on device probe
On 24.04.2025 16:25:26, Antonios Salios wrote:
> The spin lock tx_handling_spinlock in struct m_can_classdev is not being
> initialized. This leads to bug complaints from the kernel, eg. when
> trying to send CAN frames with cansend from can-utils.
>
> This patch fixes that by initializing the spin lock in the corresponding
> device probe functions.
>
> Fixes: 1fa80e23c150 ("can: m_can: Introduce a tx_fifo_in_flight counter")
>
> Signed-off-by: Antonios Salios <antonios@....re>
Applied to linux-can.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists