From nobody Fri Oct 29 09:00:10 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 07BC01832796; Fri, 29 Oct 2021 09:00:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hgbwp6vBzz4d0W; Fri, 29 Oct 2021 09:00:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD21014369; Fri, 29 Oct 2021 09:00:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19T90A8b005686; Fri, 29 Oct 2021 09:00:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19T90AlT005679; Fri, 29 Oct 2021 09:00:10 GMT (envelope-from git) Date: Fri, 29 Oct 2021 09:00:10 GMT Message-Id: <202110290900.19T90AlT005679@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wojciech Macek Subject: git: f5639a06b80c - main - mvneta: fix encap property List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wma X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f5639a06b80caf363a28f9b99e0ee697bb32b555 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wma: URL: https://cgit.FreeBSD.org/src/commit/?id=f5639a06b80caf363a28f9b99e0ee697bb32b555 commit f5639a06b80caf363a28f9b99e0ee697bb32b555 Author: Wojciech Macek AuthorDate: 2021-10-29 08:56:57 +0000 Commit: Wojciech Macek CommitDate: 2021-10-29 08:56:57 +0000 mvneta: fix encap property Fix MVNETA encap property. --- sys/dev/neta/if_mvneta_fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/neta/if_mvneta_fdt.c b/sys/dev/neta/if_mvneta_fdt.c index 85948adb69d4..102ee1f1c884 100644 --- a/sys/dev/neta/if_mvneta_fdt.c +++ b/sys/dev/neta/if_mvneta_fdt.c @@ -133,7 +133,7 @@ mvneta_fdt_attach(device_t dev) } if (ofw_bus_has_prop(dev, "tx-csum-limit")) { - err = OF_getprop(ofw_bus_get_node(dev), "tx-csum-limit", + err = OF_getencprop(ofw_bus_get_node(dev), "tx-csum-limit", &tx_csum_limit, sizeof(tx_csum_limit)); if (err <= 0) { device_printf(dev,