From nobody Wed May 03 00:29:40 2023 X-Original-To: dev-commits-src-all@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 4Q9yWT1VYmz48NWk; Wed, 3 May 2023 00:29:41 +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 4Q9yWT0sgpz3mSf; Wed, 3 May 2023 00:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c6rNaDsVhRM30KJtThIORhW3S0cBYb4TU+1msIXwd4Y=; b=sc1t9pbMFfWail2I1VP3Nfe6uWoHUMf7v6Lf/tsdn7uV7MQz27DpMyO9XWvW9vY6dGOgcS mhcp+MdGpbJQfMex+ikrQ3+q/eDzdHQ/BELSoW5aodq+cPiuMe6p8Ckwjyt0pTCIj7dL8A ryg0d605VtSRv+0hXlKAIuu74f5+B/cvJ0sTx8B0FumH4BSiEfBw1bSD4v1Qq25Em+OP0t xig/jb3YZ2hKy+xNAZp5jM36jkO9tgSz64rKjEGy3kX0fVIWkFWES/eSD5xff4TO81z2xz qp+WUQ8Mk+XG2kZpDYjtwlP1+AKNKPkOBqzL1BRbs5ZWzR5BeSpOmHlhQdfGOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683073781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c6rNaDsVhRM30KJtThIORhW3S0cBYb4TU+1msIXwd4Y=; b=njRHjx1uYamdX/IXwyl/2LegqeIY5c7oBwJxImrN6Nu2FESKOIZhRFj767VqtBBALbTdHx YyYtD1Z+yZMI8WQ5M+5+jrn48f6LKfAmy/0BQmvImsOEzsoKPtFHUuCOOWIMR5yJzyGld1 rriDijnKHYoCWRPbhEppAIddi652dX119RBCc6StDtejC2dPNfxHSi5+izRKfdI0PX2cKf jVFiQIETgx8JAO24MsXalKYYITqEZXJpVsqpWkm5hRxJJoM2wRiwBWr9wJ2MnwhnXMsPf/ lGV7K66KSG7t77oytGbmEgldRkpxSIq4XTp14c9ZnMMl8KjWAe87O+8lRquXuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683073781; a=rsa-sha256; cv=none; b=MDss7Onji9fgxsvdMIUl7K8+02CazaLfmiF445M1Hf/UH68DVT2HcySrUHicCARCC1J0te gLvjnOsbZs509ZixWp5mngJRoBQvxyweEeLXDnQMH4GSQrq5+mKgIKZnojAZAB7DGuo28V 7D40QNeKzeCR9GpikfG87hjh77Gc9m2GvPYhqvkoufTYQK5QIgZmLfSiM4GWwaBbaxDzZ2 uqCPrW9kE8pPKrdBC1sHAxmwf06evl4fWRNAKrL3gi8xhr/4lBgdqrpvQpsPB27EfLdJOV LXuz63FMNV8AZBlb0paqY38886lu8ADwiGjDb3HeZpVi2YtJPoPjfp2fD8j3rQ== 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 4Q9yWS73Cjz18TG; Wed, 3 May 2023 00:29:40 +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 3430Te0a072023; Wed, 3 May 2023 00:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3430TeNY072022; Wed, 3 May 2023 00:29:40 GMT (envelope-from git) Date: Wed, 3 May 2023 00:29:40 GMT Message-Id: <202305030029.3430TeNY072022@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: f89431787317 - stable/13 - bhyve: Don't return -ENOMEM from qemu_fwcfg_add_file. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f89431787317fc75a1a7b3b7ea48ad78e9e0e33f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f89431787317fc75a1a7b3b7ea48ad78e9e0e33f commit f89431787317fc75a1a7b3b7ea48ad78e9e0e33f Author: John Baldwin AuthorDate: 2023-03-22 19:34:56 +0000 Commit: John Baldwin CommitDate: 2023-05-03 00:07:05 +0000 bhyve: Don't return -ENOMEM from qemu_fwcfg_add_file. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D39212 (cherry picked from commit 7bf44831ca05c67169fd90408b514573ddbbcf9d) --- usr.sbin/bhyve/qemu_fwcfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/qemu_fwcfg.c b/usr.sbin/bhyve/qemu_fwcfg.c index 95e713f9df4e..af819dc4a952 100644 --- a/usr.sbin/bhyve/qemu_fwcfg.c +++ b/usr.sbin/bhyve/qemu_fwcfg.c @@ -335,7 +335,7 @@ qemu_fwcfg_add_file(const char *name, const uint32_t size, void *const data) warnx( "%s: Unable to allocate a new qemu fwcfg files directory (count %d)", __func__, count); - return (-ENOMEM); + return (ENOMEM); } /* copy files below file_index to new directory */