Re: [PATCH 0/4] staging: octeon: Improve initialization error handling

From: Klara Modin

Date: Mon Jun 29 2026 - 16:20:51 EST


Hi,

On 2026-06-28 12:31:23 +0530, Prashant Rahul wrote:
> Hi all,
>
> The TX and RX initialization paths currently call panic() on some
> initialization failures. Instead, these failures should be reported back
> to the probe function so that it can unwind any resources acquired during
> initialization and fail gracefully.
>
> This series replaces those panic() calls with proper error logging, propagates
> the errors to the probe function, and adds the necessary cleanup to avoid
> leaving the driver in a partially initialized state.
>
> This is my first time working with drivers, so please let me know if I
> have made any mistakes.
>
> Thank you! :3

I happen to have an Edgerouter 6P which uses this driver. This builds,
boots and seems to work, so

Tested-by: Klara Modin <klarasmodin@xxxxxxxxx>

>
> Best regards,
> --
> Prashant Rahul <prashantrahul23@xxxxxxxxx>
>

Regards,
Klara Modin