From patchwork Fri Oct 20 17:15:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 736284 Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp418894wrl; Fri, 20 Oct 2023 10:16:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6Jjpd0NvALN9o0THv4k4JrqedsrBmE4FsV+Yx467k2T4w5tNsvX0S95j5Rnb80dXD/vNS X-Received: by 2002:ad4:5f47:0:b0:66d:4fdb:5e32 with SMTP id p7-20020ad45f47000000b0066d4fdb5e32mr2730108qvg.27.1697822198421; Fri, 20 Oct 2023 10:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697822198; cv=none; d=google.com; s=arc-20160816; b=xx2boDgTwfztCoJfetP7OYyW8piFxmnn+bTJg5GOA34jBlnwmWyh0GyZsLLBwOidT6 ppMxncAnv3CuWUMspybFg0F126kgtRt/CrIWOMEHH3bT8/3OzI+kOp+Ke9L+i2iiH+5d yKwLmcbAOJ2lJ6OB+Bxaa4bBkqNQTuAC1+C6zdm8xiG24IG8EP9OY6T//lKt25XE5G12 V8Ehc++gs/0ovbKnXv0etIIOuI5Vp+9EIhEggbNK1BgzFmMEszAZDtJHFAK1aXqZtQuB /O8ComqkqKi+VZ2RctG7e+vgp5zjM8JyiMsZiDCDhqvBNFCHHKI5nywnaDZNkAHcRRoU zORg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=FOnrF4PFjqlwbRpkGw7aaEfcztV2JQ5uSHjglSueDhU=; fh=vahbnPf8qxI+crNjrrm0XuHs+0rRTYj56fMpuqbJh04=; b=ljxzwmrlI0niJIYS3JsPw2xLUBg/Gnzy2ryjPUUSaV3CymSVu1owt5TH5WAmdwF+yS 3wpbYPm9Fzer9kXrjld6WGyO/wq+nnN0AHzkKcsaK1zi1og1uNqbBhRVb80XyafpJ28S lH8xXsitc9tzU34B8wvsu2QC9o7q54fbIIuZAoKo3LTjJClYnE5X1N17B+P20AfKq7Y1 MA0E7ba2iOKRWfeuQ+/A01vmQdJ3B0KVNhZ+dJh4qgesP/ZV6e79CmR8Q9/xapyIboUl vSxuzX2jeUzT54NO4DMf8mg51d56HEnaOjsHJDk+71iZh+DNH8bhURYpn2OTYT5gLnQf +fDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m4Ex2Kl3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ml14-20020a056214584e00b0065b0771f2f0si1676368qvb.529.2023.10.20.10.16.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2023 10:16:38 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m4Ex2Kl3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtt5h-0000lX-PT; Fri, 20 Oct 2023 13:15:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtt5f-0000l3-UF for qemu-devel@nongnu.org; Fri, 20 Oct 2023 13:15:15 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtt5e-0004RD-9O for qemu-devel@nongnu.org; Fri, 20 Oct 2023 13:15:15 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2c515527310so15330291fa.2 for ; Fri, 20 Oct 2023 10:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697822112; x=1698426912; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FOnrF4PFjqlwbRpkGw7aaEfcztV2JQ5uSHjglSueDhU=; b=m4Ex2Kl3IxnAQIp+ZaR/2MeolTaTOynofEb+sgzPLDnZjXzlxYRSNNxsW7zowSEYTL 4+9312KS0//aoeB0imBlVqru1dzjQjilfCw7SmkEpwK4usk5yyNOsBVI5hHXWSl21Rjd uCoDtN7WGFMn2IC/2TaD6VlmX8R9O0yQ3yrXqK1hURJK3od0eDvOBLoqO23Wlx8zhv43 1LbTeggSL4hmL1rT3a9ZS3s23OtH3Lfc5r5p8vX6PxXFqL0MEWPqi2QtrPmmnzMQfCaV FD+TQTQJBWjgV4Qi0N67pLuwooCZpOgS25u4AcxKYwtN6HyM63u62tlZagGJKBTp3fjR wgwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697822112; x=1698426912; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FOnrF4PFjqlwbRpkGw7aaEfcztV2JQ5uSHjglSueDhU=; b=UEih910VY5Gy4KNrCZhcuXc0zEvSMeR0qWDL9W6ssLJpNySB5WQ+T4s2AjWYvNoJaP EdverIFEeLPik5CxD1wt9NoDz+LSmVSpMkLsjrNSKSuuczGvMr2qtqOHXJfKUwjinYZX UN4EljT7kAtqwdI3oBhmUDUGnBee+dEiw4/ogcekESSHc/TGtAYuAICHB32pTNIL9FP8 4kVvM2bPrZZkW66mloO98AOuPQWTaqK7IgFYD/wnToNl+yDV3ZY7juhBJnPLls1293fv fHZgoOLvmyZofRbidHAdS2XdtzOxgmL6U/QbT7oCuSDcHqyJGHdxepP3qanNsCmbneXw 4ihA== X-Gm-Message-State: AOJu0Yz7JvJGwftyuHoPxOL4CkbGjG7k2GUM2QQQqJPySj3EJTHUo5fQ hdKLPDbH6vzgcG1xamCRg7fBbM04gYSwd3Y3lGg= X-Received: by 2002:a2e:9c8c:0:b0:2c5:70f:614a with SMTP id x12-20020a2e9c8c000000b002c5070f614amr1712003lji.17.1697822111903; Fri, 20 Oct 2023 10:15:11 -0700 (PDT) Received: from m1x-phil.lan (tbo33-h01-176-171-212-97.dsl.sta.abo.bbox.fr. [176.171.212.97]) by smtp.gmail.com with ESMTPSA id p15-20020a05600c1d8f00b00402d34ea099sm7454062wms.29.2023.10.20.10.15.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Oct 2023 10:15:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , "Michael S. Tsirkin" , Richard Henderson , Markus Armbruster , Bernhard Beschow , qemu-ppc@nongnu.org, =?utf-8?q?Herv=C3=A9_Poussineau?= , Paolo Bonzini , Eduardo Habkost , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v4 0/4] hw/audio/pcspk: Inline pcspk_init() Date: Fri, 20 Oct 2023 19:15:04 +0200 Message-ID: <20231020171509.87839-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=philmd@linaro.org; helo=mail-lj1-x234.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Unfortunately v2 was merged as commit 40f8214fcd, so adapt v3 to clean the mess. Philippe Mathieu-Daudé (4): hw/i386/pc: Pass Error** argument to pc_basic_device_init() hw/i386/pc: Propagate error if HPET device creation failed hw/i386/pc: Propagate error if PC_SPEAKER device creation failed hw/isa/i82378: Propagate error if PC_SPEAKER device creation failed include/hw/i386/pc.h | 5 +++-- hw/i386/pc.c | 15 +++++++++++---- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/isa/i82378.c | 4 +++- 5 files changed, 19 insertions(+), 9 deletions(-)