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

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 17:15:51 UTC
On Thu, 20 Feb 2025, Colin Percival wrote:

> 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. :-)

I am on it.  I had done a build on amd64, arm64, and i386 and fixed the
build breakage from Gleb from Decmeber and the line next to it.

Seems CI is down as well.

Thanks for letting me now!

/bz

-- 
Bjoern A. Zeeb                                                     r15:7