[PATCH ethtool v2 0/3] Build fixes for older kernel headers and musl
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2023-01-14 16:34:27
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 -- 2.25.1