Message ID | 20240402142431.70700-13-philmd@linaro.org |
---|---|
State | Accepted |
Commit | 8cdb368d19e6568a3b17e9b5202a66cc0e2587d8 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp4963360wrt; Tue, 2 Apr 2024 07:27:38 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUZHDz5i4ejNkd6pUa0Ho1aP+SMecWqdxy1zG3GXZzES9OkcYJfHtXRZDuOkVhyECw009kGIwSyYVI+nh1lok/s X-Google-Smtp-Source: AGHT+IEaMM0sZNCN880rkJDMrApImAb/NttdWHJMfQIFFebpAq0ytdD4AH5Z/evao3HFq1ibagi3 X-Received: by 2002:ac8:5fd4:0:b0:432:e6db:583c with SMTP id k20-20020ac85fd4000000b00432e6db583cmr9081586qta.54.1712068057934; Tue, 02 Apr 2024 07:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712068057; cv=none; d=google.com; s=arc-20160816; b=D7YyYB021ZfLP6lTwjZg6wKL2kib7DBPlHim4L7ZPKmlCLd3Ch7d+laGVoSxIJjSUa T5a6nrKWejNIrmIVAtvCcjPubgJ/fNRiYx7UPL84SbyBCbp0VnbxtODX5KkkOuoi7WFW zLmqRp9ru2wKeDoNRyopAMqMoJ1AFwJe1WMxiCI9tKmUYR5QPoEkZcaCQAKKCNsZ+chF LHCKfPhWkx/h2blJ0Rr/0t5Aw/lcIiP5XkfJxstg1DuyJwAbI7186XZoLSOsOahkiXAH CPkAIWy1skPcPzA+FKcpugIAh42YLHEAVH/2Cj2Ci6yoeVI/fh032ds+t3NinXElVvgz VeUg== 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=UdHptW6/vmFiZMZ88dmnQIm/hdJiCEdE6JKu99L0Ilk=; fh=MIvobL9ST8RoqJT++l9dIYHCOIxB71f+clELPSpGXBc=; b=QVIMrsXEbq0V6KMjqbahCaJEwS9PpyNb4wftw68PvEIZNnSceMNaFuZO4BFA0K5val xGy+KiT3pVjuuvsvaR0QzPJsXWcxhL0h91u4lGWthmMBMhAlwzg9wNBXjkEtsawXLa/p 5Z929GFp3BEdH6Kq39qlEjyTolIpOPJOf7tvfe8KARsWP3RdH6xVdCrY8IZjYsuaS0ZE kRGmUKxgYVv3uC8dKcSmCX7ZzNMrQJQiYp+RIGgV6eDSQkfIFz5RVWMWJmo11Lxo9I2a isLF7xfVM2lIfLu+fBlFPy0XS8hAsJSafW6SWRdUvQRk3Zcn5JAONWBkU2DpqhoIXFI3 AKIw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HufWAAgk; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id hb12-20020a05622a2b4c00b00432c71df373si8505577qtb.448.2024.04.02.07.27.37 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2024 07:27:37 -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=HufWAAgk; 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 <qemu-devel-bounces@nongnu.org>) id 1rrf5v-000350-G8; Tue, 02 Apr 2024 10:26:36 -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 <philmd@linaro.org>) id 1rrf5a-0002HN-GC for qemu-devel@nongnu.org; Tue, 02 Apr 2024 10:26:20 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rrf5L-0000KV-AZ for qemu-devel@nongnu.org; Tue, 02 Apr 2024 10:26:02 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-33ff53528ceso3778903f8f.0 for <qemu-devel@nongnu.org>; Tue, 02 Apr 2024 07:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712067954; x=1712672754; darn=nongnu.org; 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=UdHptW6/vmFiZMZ88dmnQIm/hdJiCEdE6JKu99L0Ilk=; b=HufWAAgk8e40SvOjg0tlNYJouxNf/WRJIsa/JTaf7qt1POY5ahqP+yxAKBbfd7wK/c N1XBjAJh2CdA32lcFd6QrR5TZiPFk/veOVV9Ff8hQmpEr7jO2TM7briplrmGo7In2R+j SOncngXqQltxGwHOTkceeVLdSJaJxZ4fJVfPQRhw5FY9S9+Uy4/qOhQZUoSJE/co9MND e51mCiL6I0P2o7PVbJqf3zC7FOhhwotULmpD8T0U61/OasfHFYZLsE7m8Q0joQZeBz+c XcZLrq6aZUhF+uCyoLoDLWbAHsIluooP1WxS5P/weF3s1nEom0MwP/3q9vyTzVveUNob /9Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712067954; x=1712672754; 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=UdHptW6/vmFiZMZ88dmnQIm/hdJiCEdE6JKu99L0Ilk=; b=aJcNr8E/H91KmEk9tplF2ow9FQ0R/1uEfBRXMEWcZO2QMIb5/cngCUftapHE4rE29D p6tQuQ8vtFijvSj8rVjn+ofGV3dX4KhEHQi7BTdKxldJLG9VVYcXBo39B5dp32ifCtVi n/+OBQ0hs0Pxrqo1m2h6Po7BMTKr99cXSsI9pnLdpvcYzhH/Tz2DaO8gaAcRHmwt5uju imq4oOpuKuc42yI6Vq8LV5Roq5JArq7S7vN3KLVcbBFo6AJ0tFjIPHMOiXhqmgReEJ5F EN64+HLRhqAygYI0HbtA0/J0ZZnpExZGXaLEAybs1LrzOMV0tC1H22LRjChUX/kH/e88 B1vQ== X-Gm-Message-State: AOJu0Yx60YbPPi77obqJ0M9IxjkK1V3C7WR4xnt7/IrSIdjuwVZT4jCn 8LBIZ+To1MBj4ue0XjHQMXZk/3GTjBjwh2BaC2067WSMPhCNzQs0cNqh6G9/RX0y7WAxEhUFQur LzjA= X-Received: by 2002:a5d:6451:0:b0:33d:2775:1e63 with SMTP id d17-20020a5d6451000000b0033d27751e63mr8411023wrw.41.1712067954632; Tue, 02 Apr 2024 07:25:54 -0700 (PDT) Received: from m1x-phil.lan ([176.187.202.91]) by smtp.gmail.com with ESMTPSA id c9-20020a7bc2a9000000b0041552dbc539sm13501997wmk.11.2024.04.02.07.25.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Apr 2024 07:25:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, Klaus Jensen <k.jensen@samsung.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Jesper Devantier <foss@defmacro.it> Subject: [PULL 12/15] hw/nvme: fix -Werror=maybe-uninitialized Date: Tue, 2 Apr 2024 16:24:27 +0200 Message-ID: <20240402142431.70700-13-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240402142431.70700-1-philmd@linaro.org> References: <20240402142431.70700-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/15] accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE definition
|
expand
|
diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c index c2b17de987..127c3d2383 100644 --- a/hw/nvme/ctrl.c +++ b/hw/nvme/ctrl.c @@ -5894,7 +5894,7 @@ static uint16_t nvme_get_feature(NvmeCtrl *n, NvmeRequest *req) uint32_t dw10 = le32_to_cpu(cmd->cdw10); uint32_t dw11 = le32_to_cpu(cmd->cdw11); uint32_t nsid = le32_to_cpu(cmd->nsid); - uint32_t result; + uint32_t result = 0; uint8_t fid = NVME_GETSETFEAT_FID(dw10); NvmeGetFeatureSelect sel = NVME_GETFEAT_SELECT(dw10); uint16_t iv;