From patchwork Wed Aug 14 22:41:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 13764238 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 375E9143888 for ; Wed, 14 Aug 2024 22:41:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723675302; cv=none; b=I8XP5FAww40Aq75A7Imj7SrA+/wEpbU/WLWVSy2kipS/a48l9OEWRcylub4qhZDrFecTrDfZIAXgd8bD60vSdciGiNEv7vH4e5LldrEybY0bJew+9AErGLaD7PvdyMZE7QdIrPlQ0Y+dOxKmwfvFJSCLgCy2odO7/0ld7wrFF0g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723675302; c=relaxed/simple; bh=gnvdMFmWfB+UmpzunGQ1TsPmjggL3z4dlVNsJFDOfFM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=OhRFhGe4+kQOTxUuWyFLE5k9QtaIlQ1mAVxdM0Sg0Pycc+woA1IpboeaRVBlcYPdi2hzim8Jq2wk6ye5zwUuOK4l2vWxTtbX2V4JZcikviS6dBeRnjOll8IjKkvo2UYOLWfsX2Dnkf8sJgOjfiDN9aDDXHvCUz4UJJT/LrTMykI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RktEHB9x; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RktEHB9x" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1fd640a6454so4214065ad.3 for ; Wed, 14 Aug 2024 15:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723675299; x=1724280099; darn=vger.kernel.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=ix2f5gCzV/CdkxjLWnI0M17lOMP/hB/dGS/GHu24vmM=; b=RktEHB9xxHFTGdkEgKCn/o0z0kx1F9IwPz0acMG1Bu5ZvUvKMtnGST048vwpw7+axl WszrXI9J1SeLpvmUH+S1N68IuE+8T1Djdaa9LVYqOCSDAXwqvm9EraH+dv+XHch6X17u xj4uZjmgDZuUQINxzABzg0PNmr64pCs3HRcajHhupu16d1mmxjtePJ6PWmvuARtNPzO2 TdtHR2Joq5SSkaJsFud6+QdzhKdcHSj7AaWJgkno2HiqMoN8wg0413hk1FYdFOU/zyMh d9OFYyp76BilYjhgaJDraJmuJjJOFnKXuN1y0RDwGpmS+y4PM+R/akm8LtaXj4d5pl1o W1Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723675299; x=1724280099; 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=ix2f5gCzV/CdkxjLWnI0M17lOMP/hB/dGS/GHu24vmM=; b=BJ6oxidb0xzAo61NS9tQdIFh06NoZv2af5kS/ZJZT+C9n5+Ye3b6uePbQMaV0TtZzN OGnDwdwFoiWF8smcm8hs89VmWZpOek5s+Uhcn0TxwJQulAE21yXD3B1YRo06NnQEyakz 5MHp5L+eV0ETjnxSZyrOhkxSEnGEC/bW8KsNQ0DjmzNF2rwn0aPD1bj2r7KfkWVxpleu GCIVe2mdvgfof9yJrLQ7PIQG2gUImoxF9vxcUoy+4msV0cSnAnd1aJzc1LT7LgGwPjqE A6E1lEugtQyOzeMW56UoQmIfrgGCHBgJi5T0WpVhhuvh3M2QMcY+Wes02SXh3UuwCruN qtEw== X-Forwarded-Encrypted: i=1; AJvYcCXFcaHEIFHYsLSeiwB9D/ZFU1mAYaZJQaBk/Fsh1t6pJwCZGVikP7YJKnkgx/aXpR764zT/GpGW9hY99yybXFztU1TT X-Gm-Message-State: AOJu0YxOaLUsYMiXcbhMBkXSaQdms0I0OAW5YiqSWbJ4J0Wr+OOURnKs in2x7OAJVB6eKKi6MBvEo8BC1TAcKyqiGtvWaBqF/481s7ViOKb49iQ66Ru5QaU= X-Google-Smtp-Source: AGHT+IEcu9RodvL06jYwIW+MbnMmHphUULHzOODkrJsSEEKFjCAGokM2BML2UnWqSdowzt0TfjMKog== X-Received: by 2002:a17:902:d508:b0:201:e792:d6ff with SMTP id d9443c01a7336-201e792d9f9mr31346215ad.10.1723675299512; Wed, 14 Aug 2024 15:41:39 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00:5b09:8db7:b002:cf61]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f03b2874sm1225595ad.308.2024.08.14.15.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2024 15:41:39 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Beraldo Leal , David Hildenbrand , Thomas Huth , Marcelo Tosatti , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Paolo Bonzini , kvm@vger.kernel.org, Wainer dos Santos Moschetta , qemu-s390x@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Ilya Leoshkevich , Pierrick Bouvier Subject: [PATCH v2 3/4] target/s390x: fix build warning (gcc-12 -fsanitize=thread) Date: Wed, 14 Aug 2024 15:41:31 -0700 Message-Id: <20240814224132.897098-4-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240814224132.897098-1-pierrick.bouvier@linaro.org> References: <20240814224132.897098-1-pierrick.bouvier@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Found on debian stable. ../target/s390x/tcg/translate.c: In function ‘get_mem_index’: ../target/s390x/tcg/translate.c:398:1: error: control reaches end of non-void function [-Werror=return-type] 398 | } Signed-off-by: Pierrick Bouvier Acked-by: Ilya Leoshkevich --- target/s390x/tcg/translate.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index c81e035dea4..bcfff40b255 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -392,7 +392,6 @@ static int get_mem_index(DisasContext *s) return MMU_HOME_IDX; default: g_assert_not_reached(); - break; } #endif }