Re: [PATCH] ARM: imx6: add missing put_device() call in imx6q_suspend_init()

2 messages, 2 authors, 2020-06-05 · open the first message on its own page

Re: [PATCH] ARM: imx6: add missing put_device() call in imx6q_suspend_init()

From: yukuai (C) <hidden>
Date: 2020-06-05 09:08:52

On 2020/6/5 3:07, Markus Elfring wrote:
quoted
if of_find_device_by_node() succeed, imx6q_suspend_init() doesn't have a
corresponding put_device(). Thus add a jump target to fix the exception
handling for this function implementation.
Do you find a previous update suggestion useful?

ARM: imx6: Add missing put_device() call in imx6q_suspend_init()
https://lore.kernel.org/linux-arm-kernel/5acd7308-f6e1-4b1e-c744-bb2e5fdca1be@web.de/
https://lore.kernel.org/patchwork/patch/1151158/
https://lkml.org/lkml/2019/11/9/125
Hi, Markus

It is useful indeed. Although I didn't run cocci script, since it can 
produce too many false result which is hard to filter out.

BTW, I see you haver done the work already, I guess I won't send any 
patches related to 'missing put_device after of_find_device_by_node()'. 
Any idea why these pathes didn't get applied ?

Best regards,
Yu Kuai





_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Re: ARM: imx6: add missing put_device() call in imx6q_suspend_init()

From: Markus Elfring <hidden>
Date: 2020-06-05 10:16:00

quoted
Do you find a previous update suggestion useful?

ARM: imx6: Add missing put_device() call in imx6q_suspend_init()
https://lore.kernel.org/linux-arm-kernel/5acd7308-f6e1-4b1e-c744-bb2e5fdca1be@web.de/
https://lore.kernel.org/patchwork/patch/1151158/
https://lkml.org/lkml/2019/11/9/125
It is useful indeed.
Thanks for your positive feedback.

Although I didn't run cocci script, since it can produce too many false result
which is hard to filter out.
Would you like to clarify any corresponding software analysis options?

BTW, I see you haver done the work already, I guess I won't send any patches
related to 'missing put_device after of_find_device_by_node()'.
You may continue also with contributions in such a direction.
I would like to point out that other developers occasionally got into the mood
to improve implementation details in similar ways already.

Any idea why these pathes didn't get applied ?
I can make assumptions about the reasons for the possibly questionable handling
of such patches.

Regards,
Markus

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help