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

Markus Elfring <[email protected]>
Newsgroups org.kernel.vger.linux-media,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
…
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.