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
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.