git: 15dc713ceb57 - main - netmap: vtnet: add support for netmap offsets

Vincenzo Maffione vmaffione at freebsd.org
Fri Apr 9 19:29:20 UTC 2021


That's right, thanks for the suggestion.

Il giorno gio 8 apr 2021 alle ore 05:23 Brandon Bergren <bdragon at 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 at FreeBSD.org
>


More information about the dev-commits-src-all mailing list