Re: [PATCH -next v2] rtc: stmp3xxx: Add failure handling for stmp3xxx_wdt_register()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, I'll remove the second part of the commit message and send a v3 patch.

在 2022/9/15 14:31, Wolfram Sang 写道:
On Thu, Sep 15, 2022 at 09:33:04AM +0800, Lin Yujun wrote:
Use platform_device_put() to free platform device before print
error message when platform_device_add() fails to run. Add dev_err()
to report error in case of alloc memory to wdt_pdev fail.
The second part of the commit message is now obsolete.




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux