From owner-dev-commits-src-all@freebsd.org Fri Apr 9 19:29:19 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA8535CB430; Fri, 9 Apr 2021 19:29:19 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FH7VR58Vsz3tZY; Fri, 9 Apr 2021 19:29:19 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 8FF1D213FA; Fri, 9 Apr 2021 19:29:19 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f52.google.com with SMTP id ot17-20020a17090b3b51b0290109c9ac3c34so5458058pjb.4; Fri, 09 Apr 2021 12:29:19 -0700 (PDT) X-Gm-Message-State: AOAM533kN9esMtnYb2pGQdRsnxHQogaIvpnurKgf0Za6WgDQkOpxvEXi qdJTUzMH6u6L4mHXzVRLtC2+CCh0dpr2BJr5TDA= X-Google-Smtp-Source: ABdhPJzj5sq2gA3paqevlaUgIiBpVUm10LhLmnCA6P/HYzjycrAKuxquptLoL2RE/+WrzyDHnJsxFV4FHLlmcTzbXGs= X-Received: by 2002:a17:90b:33d0:: with SMTP id lk16mr14665346pjb.115.1617996558363; Fri, 09 Apr 2021 12:29:18 -0700 (PDT) MIME-Version: 1.0 References: <202104072142.137LgrJC015011@gitrepo.freebsd.org> <20210407214622.gsedn2cuuj7mblq2@mutt-hbsd> <20210407220730.6z6j2ejytu3j67ik@mutt-hbsd> <975e9c9c-4236-4ab8-9862-cef39d862838@www.fastmail.com> In-Reply-To: <975e9c9c-4236-4ab8-9862-cef39d862838@www.fastmail.com> From: Vincenzo Maffione Date: Fri, 9 Apr 2021 21:29:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 15dc713ceb57 - main - netmap: vtnet: add support for netmap offsets To: Brandon Bergren Cc: Shawn Webb , src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 19:29:20 -0000 That's right, thanks for the suggestion. Il giorno gio 8 apr 2021 alle ore 05:23 Brandon Bergren 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 >