Skip to content

Build fixes for older kernel headers and musl

Florian Fainelli netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- reworked the first commit to bring in if.h, this is a more invasive change but it allows us to drop the ALTIFNAMSIZ override and it might be easier to maintain moving forward

- reworked the third commit to avoid using non standard integer types

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3uapi: Bring in if.hMakefile.am internal.h uapi/linux/hdlc/ioctl.h +1 more+397 -60 replies
2/3netlink: Fix maybe uninitialized 'meters' variablenetlink/parser.c+1 -10 replies
3/3marvell.c: Fix build with musl-libcmarvell.c+17 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH ethtool v2 0/3] Build fixes for older kernel headers and musl

Hi Michal,

These 3 patches fix build issues encountered in the 6.1 release with either older kernel headers (pre v4.11) or with musl-libc.

In case you want to add a prebuilt toolchain with your release procedure you can use those binaries:

https://github.com/Broadcom/stbgcc-8.3/releases/tag/stbgcc-8.3-0.4

Changes in v2:

- reworked the first commit to bring in if.h, this is a more invasive change but it allows us to drop the ALTIFNAMSIZ override and it might be easier to maintain moving forward

- reworked the third commit to avoid using non standard integer types

Florian Fainelli (3):
uapi: Bring in if.h
netlink: Fix maybe uninitialized 'meters' variable marvell.c: Fix build with musl-libc

 Makefile.am             |   6 +-
 internal.h              |   7 +-
 marvell.c               |  34 ++---
 netlink/parser.c        |   2 +-
 uapi/linux/hdlc/ioctl.h |  94 +++++++++++++
 uapi/linux/if.h         | 296 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 415 insertions(+), 24 deletions(-)
 create mode 100644 uapi/linux/hdlc/ioctl.h
 create mode 100644 uapi/linux/if.h
Signature · 1 line
2.25.1