Date: Wed, 07 Apr 2021 22:23:23 -0500 From: "Brandon Bergren" <bdragon@FreeBSD.org> To: "Vincenzo Maffione" <vmaffione@freebsd.org>, "Shawn Webb" <shawn.webb@hardenedbsd.org> Cc: src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: =?UTF-8?Q?Re:_git:_15dc713ceb57_-_main_-_netmap:_vtnet:_add_support_for_?= =?UTF-8?Q?netmap_offsets?= Message-ID: <975e9c9c-4236-4ab8-9862-cef39d862838@www.fastmail.com> In-Reply-To: <CA%2B_eA9gwhYoz71Eo1FCauysKTFpyzVqR_mqMCv_HCggxV7_tZg@mail.gmail.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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?975e9c9c-4236-4ab8-9862-cef39d862838>