Re: [PATCH] sh: dma-sysfs: add missing put_device() in dma_create_sysfs_files()
Markus Elfring <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel.stable,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
> 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