-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/rtk_drv.c: fix build error for imxrt1020-evk/tc #4930
Conversation
Target : [d18a16bf23c6e593d519a35e15bc2394271d7962] - Code Rule Check OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
d18a16b
to
c3b4f3a
Compare
Target : [c3b4f3a9fe0a13129dc3d0a5095a72fda58fa739] - Code Rule Check OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not "fix". It just avoid the build break.
Please resolve real problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please find my previous comment.
Regardless of content, you need to check the title format. |
yes. you are right. forgot to check it, when i changed the code. |
ok. will check it. |
@deepaksrma @sangam-swami Could you let me know the status of this PR? And this looks similar issue on #4759. Is it possible to modify #4759 as well? |
c3b4f3a
to
4f16b9c
Compare
Target : [4f16b9c3f389fb8d325fe34a600bfa463f873eec] - Code Rule Check OK. |
changes are done. |
- error is: wireless/realtek/wifi_util_interface/rtk_drv.c: In function 'rtk_drv_initialize': wireless/realtek/wifi_util_interface/rtk_drv.c:419:43: error: invalid application of 'sizeof' to incomplete type 'struct netdev' 419 | dev = (struct netdev *)kmm_malloc(sizeof(struct netdev)); | ^~~~~~ wireless/realtek/wifi_util_interface/rtk_drv.c:423:5: error: dereferencing pointer to incomplete type 'struct netdev' 423 | dev->ifname[0] = 'w'; | ^~ wireless/realtek/wifi_util_interface/rtk_drv.c:427:14: error: 'NM_WIFI' undeclared (first use in this function) 427 | dev->type = NM_WIFI; - to fix this, need to include netdev_mgr.h to provide the reference of netdev, so when CONFIG_NET_NETMGR is enabled then it will take the reference from netdev_mgr.h, otherwise from lwnl.h Signed-off-by: Deepak Sharma <[email protected]>
4f16b9c
to
20dce5f
Compare
Target : [20dce5f] - Code Rule Check OK. |
@sunghan-chang we can fix #4759 in other PR as it is related to QEMU build and changes are different. |
Signed-off-by: Deepak Sharma [email protected]