[Deepin-Kernel-SIG] [linux 6.6-y] [Phytium] phytium: phytmac: update phytmac to v1.0.50#1516
Merged
opsiff merged 3 commits intodeepin-community:linux-6.6.yfrom Feb 28, 2026
Conversation
Update phytmac from v1.0.29 to v1.0.50. Including following details. net/phytmac: Modify cmd processing function net/phytmac: Add XDP feature support net/phytmac: Bugfix set WOL failed issue net/phytmac: Bugfix invalid wait context net/phytmac: Change the requested resource type from nRE to nRnE net/phytmac: BugFix Memory leak when releasing resource net/phytmac: Limit the number of retries to avoid deadlock net/phytmac: Set the read timeout period to the NIC register net/phytmac: Slove left-shift out of bound issue net/phytmac: Manage WOL on MAC if PHY supports WOL feature net/phytmac: Fixed the PTP test failure issue net/phytmac: Cancels the power-on/off capability net/phytmac: Exit probe when MDIO times out net/phytmac: Clear RX descriptor address after the skb construction net/phytmac: Enable the tail pointer by the driver net/phytmac: Update hardware identifiers and the driver name net/phytmac: Fix sleeping function called from invalid context net/phytmac: Fix compile error on X86 architecture net/phytmac: Fix page refcounting issue for XDP_REDIRECT net/phytmac: Bugfix the potential deadlock issue Signed-off-by: Li Wencheng <liwencheng@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Jiakun Shuai <shuaijiakun1288@phytium.com.cn>
Log:
drivers/net/ethernet/phytium/phytmac_platform.c:232:8: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
232 | if (!pdata->msg_regs) {
| ^~~~~~~~~~~~~~~~
drivers/net/ethernet/phytium/phytmac_platform.c:311:9: note: uninitialized use occurs here
311 | return ret;
| ^~~
drivers/net/ethernet/phytium/phytmac_platform.c:232:4: note: remove the 'if' if its condition is always false
232 | if (!pdata->msg_regs) {
| ^~~~~~~~~~~~~~~~~~~~~~~
233 | dev_err(&pdev->dev, "msg_regs ioremap failed, i=%d\n", i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | goto err_mem;
| ~~~~~~~~~~~~~
235 | }
| ~
drivers/net/ethernet/phytium/phytmac_platform.c:172:9: note: initialize the variable 'ret' to silence this warning
172 | int ret, i;
| ^
| = 0
1 error generated.
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
phytium: phytmac: update phytmac to v1.0.50
Update phytmac from v1.0.29 to v1.0.50. Including following details.
net/phytmac: Modify cmd processing function
net/phytmac: Add XDP feature support
net/phytmac: Bugfix set WOL failed issue
net/phytmac: Bugfix invalid wait context
net/phytmac: Change the requested resource type from nRE to nRnE
net/phytmac: BugFix Memory leak when releasing resource
net/phytmac: Limit the number of retries to avoid deadlock
net/phytmac: Set the read timeout period to the NIC register
net/phytmac: Slove left-shift out of bound issue
net/phytmac: Manage WOL on MAC if PHY supports WOL feature
net/phytmac: Fixed the PTP test failure issue
net/phytmac: Cancels the power-on/off capability
net/phytmac: Exit probe when MDIO times out
net/phytmac: Clear RX descriptor address after the skb construction
net/phytmac: Enable the tail pointer by the driver
net/phytmac: Update hardware identifiers and the driver name
net/phytmac: Fix sleeping function called from invalid context
net/phytmac: Fix compile error on X86 architecture
net/phytmac: Fix page refcounting issue for XDP_REDIRECT
net/phytmac: Bugfix the potential deadlock issue