intel / intel/ethernet-linux-igb
Incompatible function pointer types initializing
- Dominant language
- C
- Stars
- 35
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
**Linux** 6.14.0-rc7+
**clang** version 21.0.0git (https://github.com/llvm/llvm-project.git c482b8faeace855332a8c070cffaf3d0732cc79e)
```
igb_main.c:2499:18: error: incompatible function pointer types initializing
'int (*)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, bool *, struct netlink_ext_ack *)'
(aka 'int (*)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, unsigned short, unsigned short, _Bool *, struct netlink_ext_ack *)')
with an expression of type
'int (struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *)'
(aka 'int (struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, unsigned short, unsigned short, struct netlink_ext_ack *)') [-Wincompatible-function-pointer-types]
2499 | .ndo_fdb_add = igb_ndo_fdb_add,
| ^~~~~~~~~~~~~~~
```
Contributor guide
Assessment
This issue has not been assessed yet.