intel / intel/ethernet-linux-i40e

incompatible pointer type

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
50
Forks
18
PR merge metrics
No merged PRs in 30d

Description

```
ice-1.16.3/src/auxiliary.c:110:12: error: initialization of ‘void (*)(struct device *)’ from incompatible pointer type ‘int (*)(struct device *)’ [-Werror=incompatible-pointer-types]
.remove = auxiliary_bus_remove,
^~~~~~~~~~~~~~~~~~~~
ice-1.16.3/src/auxiliary.c:110:12: note: (near initialization for ‘auxiliary_bus_type.remove’)
cc1: some warnings being treated as errors
```
+

```
i40e-2.27.8/src/auxiliary.c:110:12: error: initialization of ‘void (*)(struct device *)’ from incompatible pointer type ‘int (*)(struct device *)’ [-Werror=incompatible-pointer-types]
.remove = auxiliary_bus_remove,
```

kernel 6.1.128 LTS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.