Re: [PATCH] sh: dma-sysfs: add missing put_device() in dma_create_sysfs_files()
From: Markus Elfring
Date: Sat Dec 20 2025 - 08:56:41 EST
> If device_register() fails, call put_device() to drop the device
> reference. Also, call device_unregister() if device_create_file()
> fails.
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.19-rc1#n659
You propose to complete the exception handling for two cases.
Is there a need to indicate such a detail in the summary phrase accordingly?
Regards,
Markus