From patchwork Tue Dec 20 14:35:30 2022 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: 13077958 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE3BAC4332F for ; Tue, 20 Dec 2022 14:36:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234008AbiLTOgF (ORCPT ); Tue, 20 Dec 2022 09:36:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbiLTOfm (ORCPT ); Tue, 20 Dec 2022 09:35:42 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 223E0B67 for ; Tue, 20 Dec 2022 06:35:41 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id k22-20020a05600c1c9600b003d1ee3a6289so8954714wms.2 for ; Tue, 20 Dec 2022 06:35:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=FtKJes66/4jOGZqiJaNKdd7x6uDxsmpWf7n+U2lM5lE=; b=NzqVb3JTffWzhT7FSm+CBjrpFGKmGH60tPLlcLI0E7y0g5l9zRMn+cSPiKjwVZksNC B7oyrxP44J13H0v/qFYExs4JWtee0zDpHpkmv+BM3SxtGr/KL0NWO1qjXxJxy4OqsjBT BfmoXWH5MSQgj/gO83QZo66/A7nqWTNG40Qf9GWv+PYBK/zqT/XasBlLb0rhakwdPFyD 1N1FC9ZBFvhwnmbALrWALRi1MncrHZqOjjZ4nPbWyuRwS+JChsPswgTH6iOsKPNinWll fzh5sDRhC94BI9/zzzLCHi1Yjl2r7mLvZH0fHIZ1CmlsROM93OOPNVpz5h0/u6LH3+bU LHzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=FtKJes66/4jOGZqiJaNKdd7x6uDxsmpWf7n+U2lM5lE=; b=gRTl2zNLYwNTclG2Y1FXbLmvt1JrQRo9JsGA1Ibvdr2V0H/6hAxVWdosbt4JxaKSVK tvA8JRCNVjk86ZV/ZgpHnhLYhS0OqUGb6cPNusM0KOImpwH6YmFBWjThKzOrdNwfDf9j X77QTSSyf8LpB8omBZcpzTGTjzQ2riDlr/8R7eETi51MbSnirlY5tlI+HIgbBXbD3GEl VOg755aTsITSE4S+9z8TqSOv/vIGjnz2x7gfvmP7s8rCQ+s2GTQ3oN3tMBjP2wf62XaC dofJwdozlct0dXOUTgmf1EvJLwg8zeTt+Kbb7858TCGW7bex3VAs9VsZg3NbNmchy2ge ZbRg== X-Gm-Message-State: AFqh2kpNxsy5HUNLJqxuJKnEVTm8wxj72yhXNDxD8iGm/zIJp0jAdF1D bowPeyt2NZiOFlPyAMMjyXPut7Ud1z4Rvaw7XZU= X-Google-Smtp-Source: AMrXdXu6W4jBstWrKM+QE6scUoWOSzbL52dvRkQ55mXgZDBhqJSkHFLdm6Bfp2G+3ZTef2EZDHFKdw== X-Received: by 2002:a05:600c:3d96:b0:3d2:2105:1761 with SMTP id bi22-20020a05600c3d9600b003d221051761mr1806999wmb.25.1671546939688; Tue, 20 Dec 2022 06:35:39 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id z19-20020a05600c221300b003a3170a7af9sm15867920wml.4.2022.12.20.06.35.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 20 Dec 2022 06:35:39 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, Paolo Bonzini , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH 1/3] tcg: Silent -Wmissing-field-initializers warning Date: Tue, 20 Dec 2022 15:35:30 +0100 Message-Id: <20221220143532.24958-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220143532.24958-1-philmd@linaro.org> References: <20221220143532.24958-1-philmd@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Silent when compiling with -Wextra: tcg/i386/tcg-target.opc.h:34:1: warning: missing field 'args_ct' initializer [-Wmissing-field-initializers] DEF(x86_punpckl_vec, 1, 2, 0, IMPLVEC) ^ ../tcg/tcg-common.c:30:66: note: expanded from macro 'DEF' { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags }, ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé --- tcg/tcg-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/tcg-common.c b/tcg/tcg-common.c index aa0c4f60c9..35e7616ae9 100644 --- a/tcg/tcg-common.c +++ b/tcg/tcg-common.c @@ -27,7 +27,7 @@ TCGOpDef tcg_op_defs[] = { #define DEF(s, oargs, iargs, cargs, flags) \ - { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags }, + { #s, oargs, iargs, cargs, iargs + oargs + cargs, flags, NULL }, #include "tcg/tcg-opc.h" #undef DEF };