Re: git: 61ce42253180 - main - wlanstats: move from tools to usr.sbin

From: Colin Percival <cperciva_at_tarsnap.com>
Date: Thu, 20 Feb 2025 05:02:16 UTC
On 2/18/25 18:57, Bjoern A. Zeeb wrote:
> commit 61ce422531805307d413bf04c9ad1aabd7f3a879
> Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
> 
>      wlanstats: move from tools to usr.sbin

Looks like this resulted in it being compiled with a higher WARNS, which
broke the build on some platforms (so far powerpc and powerpcspe have
failed the weekly snapshots):

> /usr/src/usr.sbin/wlanstats/wlanstats.c:842:29: error: cast from 'struct bsdstat *' to 'struct wlanstatfoo_p *' increases required alignment from 4 to 8 [-Werror,-Wcast-align]
>   842 |         struct wlanstatfoo_p *wf = (struct wlanstatfoo_p *) sf;
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Please fix the build before you MFC. :-)

-- 
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid