Re: [PATCH v2 3/5] net: can: mcp251x: propagate the return value of mcp251x_spi_write()

From
Vincent Mailhol <hidden>
Date
2025-06-16 08:36:16
Also in
linux-arm-kernel, linux-arm-msm, linux-can, linux-gpio, linux-mediatek, lkml
Reply to
Bartosz Golaszewski, 2025-06-16
On 16/06/2025 at 16:24, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

Add an integer return value to mcp251x_write_bits() and use it to
propagate the one returned by mcp251x_spi_write(). Return that value on
error in the request() GPIO callback.

Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Vincent Mailhol <redacted>


Yours sincerely,
Vincent Mailhol
Thread (14 messages) 14 messages, 6 authors, last reply 2025-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help