Re: [PATCH v4 05/15] media: redrat3: Error path leaves device in transmitting state
From: Sean Young
Date: Tue Jul 28 2026 - 04:17:34 EST
On Mon, Jul 27, 2026 at 05:57:23PM +0200, Markus Elfring wrote:
> > If the allocation fails, transmitting is left as true and the transmitter
> > cannot be used any more.
>
> See also once more:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc5#n94
I've tried to re-write the message in imperative mood, but doesn't look
any better. It can be improved though, how about:
In the allocation failure error path, the transmitting boolean is not
cleared and the transmitter cannot be used until the device is unplugged
or the module reloaded.
Is that better?
(I don't think we need a v5 just for a change of the commit message before
commit.)
> …
> > ---
> > drivers/media/rc/redrat3.c | 6 +++---…
>
> Some contributors would appreciate patch version descriptions.
> https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc5#n310
This patch has not changed since earlier versions.
Sean