Re: [PATCH] ieee802154: ca8210: fix cas_ctl leak on spi_async failure

From: Markus Elfring

Date: Tue Apr 21 2026 - 05:48:04 EST



> Fix it by freeing cas_ctl on the spi_async() error path. While here,
> correct the misleading error string: the function calls spi_async(),
> not spi_sync().

Would it be safer to offer desired changes as separate patches?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.0#n81

Regards,
Markus