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

Markus Elfring <[email protected]> Thu, 30 Jul 2026 07:17:20 +0200
Newsgroups gmane.linux.kernel.stable,gmane.linux.drivers.video-input-infrastructure,gmane.linux.kernel,gmane.linux.kernel.janitors
Message-ID <[email protected]>
=E2=80=A6
> 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?


=E2=80=A6
> Fixes: fac59136bc22 ("[media] RedRat3: Return directly after a failed kc=
alloc() in redrat3_transmit_ir()")"=E2=80=A6

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

Regards,
Markus