Bug 9315 - Subject: net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
Summary: Subject: net: sungem_phy: Add of_node_put() for reference returned by of_get...
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: ---
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 16:14 UTC by ymm
Modified: 2024-06-12 16:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ymm inspur_group 2024-06-12 16:14:39 UTC
Description of problem:

In bcm5421_init(), we should call of_node_put() for the reference
returned by of_get_parent() which has increased the refcount.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2024-06-12 16:26:08 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3342