Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2021 21:29:06 +0200
From:      Vincenzo Maffione <vmaffione@freebsd.org>
To:        Brandon Bergren <bdragon@freebsd.org>
Cc:        Shawn Webb <shawn.webb@hardenedbsd.org>, src-committers <src-committers@freebsd.org>,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 15dc713ceb57 - main - netmap: vtnet: add support for netmap offsets
Message-ID:  <CA%2B_eA9hmR1U0U4tddjNLggm4FvbvAc0XNo%2BHv4XS7aSXPdAcXQ@mail.gmail.com>
In-Reply-To: <975e9c9c-4236-4ab8-9862-cef39d862838@www.fastmail.com>
References:  <202104072142.137LgrJC015011@gitrepo.freebsd.org> <20210407214622.gsedn2cuuj7mblq2@mutt-hbsd> <CA%2B_eA9ip2YGwiJFtcC94mAMwnXBdB7uFU=9%2B2-myzBghkvvTgg@mail.gmail.com> <20210407220730.6z6j2ejytu3j67ik@mutt-hbsd> <CA%2B_eA9gwhYoz71Eo1FCauysKTFpyzVqR_mqMCv_HCggxV7_tZg@mail.gmail.com> <975e9c9c-4236-4ab8-9862-cef39d862838@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That's right, thanks for the suggestion.

Il giorno gio 8 apr 2021 alle ore 05:23 Brandon Bergren <bdragon@freebsd.org>
ha scritto:

> On Wed, Apr 7, 2021, at 5:13 PM, Vincenzo Maffione wrote:
> > Oh, I'm sorry. That's just to silence the compiler because of the
> > unused variable addr. We only need the paddr output value in that
> > context.
>
> How about casting away the return value from the call directly then,
> instead of having addr in the first place?
>
> --
>   Brandon Bergren
>   bdragon@FreeBSD.org
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9hmR1U0U4tddjNLggm4FvbvAc0XNo%2BHv4XS7aSXPdAcXQ>