Skip to content
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

Ubuntu 20.04 Compile 5.15.24 Kernel - Compile Error #201

Open
nashford77 opened this issue Feb 21, 2022 · 3 comments
Open

Ubuntu 20.04 Compile 5.15.24 Kernel - Compile Error #201

nashford77 opened this issue Feb 21, 2022 · 3 comments

Comments

@nashford77
Copy link

You do not need the "sizeof(ar->mac_addr)" third function here - i removed it and it compiled fine:

drivers/net/wireless/ath/ath10k/core.c: In function ‘ath10k_core_probe_fw’:
drivers/net/wireless/ath/ath10k/core.c:4049:2: error: too many arguments to function ‘device_get_mac_address’
4049 | device_get_mac_address(ar->dev, ar->mac_addr, sizeof(ar->mac_addr));
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/ieee80211.h:20,
from ./include/net/mac80211.h:20,
from drivers/net/wireless/ath/ath10k/htt.h:16,
from drivers/net/wireless/ath/ath10k/core.h:18,
from drivers/net/wireless/ath/ath10k/core.c:19:
./include/linux/etherdevice.h:35:5: note: declared here
35 | int device_get_mac_address(struct device *dev, char *addr);
| ^~~~~~~~~~~~~~~~~~~~~~

@greearb
Copy link
Owner

greearb commented Feb 21, 2022

It must be conflicting with some patch that ubuntu pulls into their kernel that is not in mainline 5.15 kernel,
as my 5.15 kernel compiles for me...

@nashford77
Copy link
Author

nashford77 commented Feb 21, 2022 via email

@greearb
Copy link
Owner

greearb commented Feb 21, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants