Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2022 11:04:51 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mark Johnston <markj@FreeBSD.org>, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 3fe1f21fb364 - main - ctf: Avoid passing a caddr_t to roundup2()
Message-ID:  <cf9a811d-f985-f699-442b-a5c323b98ab4@FreeBSD.org>
In-Reply-To: <202203071621.227GL47F099339@gitrepo.freebsd.org>
References:  <202203071621.227GL47F099339@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/7/22 8:21 AM, Mark Johnston wrote:
> The branch main has been updated by markj:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=3fe1f21fb364e38f2bf7e7100dad59b067b27080
> 
> commit 3fe1f21fb364e38f2bf7e7100dad59b067b27080
> Author:     Mark Johnston <markj@FreeBSD.org>
> AuthorDate: 2022-03-07 16:18:40 +0000
> Commit:     Mark Johnston <markj@FreeBSD.org>
> CommitDate: 2022-03-07 16:20:57 +0000
> 
>      ctf: Avoid passing a caddr_t to roundup2()
>      
>      For some reason I can't reproduce this locally, but Jenkins complains.
>      
>      Reported by:    Jenkins
>      Fixes:          bdf290cd3e1a ("ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}")

Odd, do you have a copy of the warning/error you got (and which compiler and arch?)

Even for CHERI (which can be pickier about such things) roundup2() works fine on
caddr_t / char *.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9a811d-f985-f699-442b-a5c323b98ab4>