Re: [PATCH v5 05/15] media: redrat3: Error path leaves device in transmitting state

From: Markus Elfring

Date: Thu Jul 30 2026 - 01:22:21 EST



> Fix the error path by moving the assignment statement.

How do you think about to increase the application of scope-based resource management
also for such a function implementation?



> Fixes: fac59136bc22 ("[media] RedRat3: Return directly after a failed kcalloc() in redrat3_transmit_ir()")"…

Would a revert be needed for this commit before further adjustments will be considered?

Regards,
Markus