From patchwork Tue Aug 1 21:54:16 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: 708752 Delivered-To: patch@linaro.org Received: by 2002:a5d:55c5:0:b0:317:2194:b2bc with SMTP id i5csp575147wrw; Tue, 1 Aug 2023 14:55:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlEbuiYKw3+4Hp0kFwIXm4diI/3YaCG2p03WUCbI8yV92d+oaiWC7t7wxc74p2Ae3qDeGqzv X-Received: by 2002:a05:620a:29d5:b0:768:f98:e8e2 with SMTP id s21-20020a05620a29d500b007680f98e8e2mr19930534qkp.56.1690926940372; Tue, 01 Aug 2023 14:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690926940; cv=none; d=google.com; s=arc-20160816; b=z1o+c09ZqCHtLkOP5qL0GdGulMkTKvJRpuzvxrtimcbUaG6BVfYcOf8GC6YZi8F0Gk GivsXyI8ekBj+4aUVDIxwvFf3NTi1L8kAzjVBRKwBcvnowMU996ef1mlL3TwZK8kwrtQ hzxQcx5nNwSuvo3snU+yflSZkcYluY8jVuKBsak8niGyC4QIIUyuK8TN7UqIw+Nv5VN3 PeUIL/qKcq+ShSNMF0On5zKdQor3btvefL2uxDbsgJ374cXv1kZaq59kJWtEP53sCqWz hT0f8a2SPJqA6WvPx4Z9BfoOce/Tl5kOyhh7DMjr9hd0bCQ+lJyC3+c1KUJvNKg/lEEb viKw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TL4wONxRCFHb4IRhcbJ760o3oW6V2ATu43JtMkEQRP4=; fh=3YoEeWJDkI3jC2uxkqIBLlq2XvTqCZj41MB3XnfF1E0=; b=zrO4ozzzW5dz7N7qHZjISvPSiC7HEkJeZbf/2oykPA/Qb9HwiSO/mAJ6E4hen77ajt /a9larafx6qHYR4hn6STDkEih0xkWHjggQl92TShvJMK8KI/1kteUdxJtWoo3bAmw5a7 ntMegQDwB8eu5kRaL1GAFQACgqjgHjGVLhvxq+VhLpkmI84/vncrxA6l/9NjyxQHiABX n8q+4ZV0fDetgoRn+dciMpI6zCYjiR0ShJ+4P3wWsFpHiEuU1f0RwgKaF0mzgXgiLhPp SyYuhidXcnyj8fBrXnqF9zvTuHtFm5UFqVsAEqSXaU/+RV2t+ggqDjQo2hl+eHmxYEuK cfmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lxoqXbW+; 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 l12-20020a05620a28cc00b0076cc12a2303si1710129qkp.207.2023.08.01.14.55.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Aug 2023 14:55:40 -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=lxoqXbW+; 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 1qQxKh-0003yv-Ve; Tue, 01 Aug 2023 17:55:13 -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 1qQxKW-0003x3-Em for qemu-devel@nongnu.org; Tue, 01 Aug 2023 17:55:00 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQxKT-0004pD-PS for qemu-devel@nongnu.org; Tue, 01 Aug 2023 17:54:59 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3174aac120aso5658815f8f.2 for ; Tue, 01 Aug 2023 14:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690926895; x=1691531695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TL4wONxRCFHb4IRhcbJ760o3oW6V2ATu43JtMkEQRP4=; b=lxoqXbW+NbJPwfc8NfnvGZ3d72+SWSU4BhE7uJo44BCFMbryNVzfCSgSUh30WL6JOh aZqDHfxhn8Vh7+76H582c5oRZH8aQ8bZbl6prDl1Ess5+opWknKtQqpcF+9Z0c6kfWdh V32HRJYUXHnxu6r/gINvGvZVb8OC5GCK45jBegnFgi/QmkC6LGwfRODmeTHikdPHDOuH U++Jqs6enVSSX14u7uJq7B19kDrwBiUO0BECUvSU7S/AaI1d/FgsOartT7HR7zXzLWhE zIjsRq7Kx0RHvlohOtdYBKz9goInv6mUiY32aUirvK9JWM8VpQ6CY2us4yEohE9q6jbe 19GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690926895; x=1691531695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TL4wONxRCFHb4IRhcbJ760o3oW6V2ATu43JtMkEQRP4=; b=abnQk3T24aXigOcc51Okbi2ZbHjw30UpII/N7bdGT+ftlXkU0HIMvQzuy/37TXlIGu QM7CBx5L5IhBfMrmJqL7lgw87wVwYw37X4alamm0yPdTWo0xYYUM4s628PfvIyRh0RTY LsOvJdK3Yq9mVjeDJj9nqgE7iGUqGRvUz+RiNQ34Ea6+J61lTsfU87pX75bKAELLHNNa dfDTI3gJxqbxrVrGA+TBY/HIJAxSV1Wu1D3/XBkz134Are7CUQ039O/xGSlI31fHBN+n rigZe1gcVkspxVx3O/fqUAddQl8lpm8gvHJL/iDunZhpCihYeS6dedvCeojVy9On07tZ L68w== X-Gm-Message-State: ABy/qLbinylo9NPKpLwVV69A8bXrB2YNoO9l0aBTVG0f+nAHi8qiBqi4 r6FysEY0AElyGElbVFGB7v9b/FIc/KjDb+SdE5w= X-Received: by 2002:adf:efd1:0:b0:313:ebf3:f817 with SMTP id i17-20020adfefd1000000b00313ebf3f817mr3121670wrp.22.1690926895154; Tue, 01 Aug 2023 14:54:55 -0700 (PDT) Received: from localhost.localdomain ([176.176.174.59]) by smtp.gmail.com with ESMTPSA id k14-20020adfe3ce000000b00317643a93f4sm17063951wrm.96.2023.08.01.14.54.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 01 Aug 2023 14:54:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-s390x@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_?= =?utf-8?q?Lureau?= , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Thomas Huth Subject: [PULL 05/10] ui/dbus: fix clang compilation issue Date: Tue, 1 Aug 2023 23:54:16 +0200 Message-Id: <20230801215421.60133-6-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230801215421.60133-1-philmd@linaro.org> References: <20230801215421.60133-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.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, T_SCC_BODY_TEXT_LINE=-0.01 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 From: Marc-André Lureau ../ui/dbus-listener.c:236:9: error: expected expression Error *err = NULL; See: https://gitlab.com/qemu-project/qemu/-/issues/1782#note_1488517427 Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20230726151221.515761-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- ui/dbus-listener.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/dbus-listener.c b/ui/dbus-listener.c index 02fc6ae239..30917271ab 100644 --- a/ui/dbus-listener.c +++ b/ui/dbus-listener.c @@ -232,7 +232,7 @@ static void dbus_call_update_gl(DisplayChangeListener *dcl, egl_fb_read_rect(ddl->ds, &ddl->fb, x, y, w, h); dbus_gfx_update(dcl, x, y, w, h); break; - case SHARE_KIND_D3DTEX: + case SHARE_KIND_D3DTEX: { Error *err = NULL; assert(ddl->d3d_texture); @@ -249,6 +249,7 @@ static void dbus_call_update_gl(DisplayChangeListener *dcl, dbus_update_gl_cb, g_object_ref(ddl)); break; + } default: g_warn_if_reached(); }