From patchwork Fri Aug 16 07:22:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 819724 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c8:0:b0:367:895a:4699 with SMTP id m8csp161614wrb; Fri, 16 Aug 2024 00:23:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXuJA2BpqAQ/bpyWOsOW9AZgsgJx42Z/+9Bu5aZh7CS+0ITQhqCcxdQhT/WJuEjSLwIqZIFF1uIjUaSQYt5KqDT X-Google-Smtp-Source: AGHT+IH60CpmtUr8PQvcKHMwvs26DrzI3rcqd7AoNSIxMzLfrqER5aHHNeXhmYyW35z6qPg68pCv X-Received: by 2002:a05:6214:4b0e:b0:6bf:6e9d:5fe6 with SMTP id 6a1803df08f44-6bf7cd7ef2fmr24847366d6.11.1723793000982; Fri, 16 Aug 2024 00:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723793000; cv=none; d=google.com; s=arc-20160816; b=ATPnujSNOkiDE6HiBgoTQaySVKdIm8l3htIT0lrkgfSWpwRNhx6du1Oo5OD74gchY7 KEO69sPei9Zd7B/vAn4PkjAxCzr4yOCTLerm7go80zzaeICmzK3A8h02uvFltDBc/VTL Pi8nOHmBq3K3Q1Nc6Qyw+XzgoTAubbggVUtUN6aQFRpHnLiMW6s7g7rWmuwyymcTBxd8 j1K9GdKRHHGbDnmnbAp56DHD8g5ZAcasxFS/+PmhgM47U4Ue63YWPh1Ul4TqJbts1xxi byvjUAWFsnrAOJtlDenMzdtrqEcKNWKOu2z34EEFgvt1Jg5CdKpVX6yh8Jj+/qExGXWq +LqQ== 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:to:from :dkim-signature; bh=52lnIikUh33RIoIT6slButNijvzkwMfM6u659U9bRZk=; fh=2WsjhQWI4lQgYgc4VV8bbFA9ixJvTm6B39az9SeRSzU=; b=fjz07AfRTR8G+TQmszfTOuCfkFzIR85nyngFVOOq7ak7wrf45dKgmsKaBDQcCpNJ/t OAUsRGCpfDtbQyp8gC3WzCMH2O7Pqepu9aoUX1cEs6LWiHx3NjpVx59fMYhxMw0KjDyT NeMYGG9sOI97lfkJYSvU42YVctyk4EVHlZD9aTq+oRVJj6ltBYl9P00evGm3rlpD485n T1V5YBeN6uydFCa3HNefVfkphPOdnRQZIGv9zt9B2j27xOdQrWbfmxS0Yrw2lpim5nR8 iNm2j5HE9b5KvaoMTnko9/pw/gKxx4gkeaNIbSm0lyZjpBfITfbVchXcTyraNcxIG2hK sA0Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RbEokQH7; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6bf6fec113esi35738976d6.305.2024.08.16.00.23.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2024 00:23:20 -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=@redhat.com header.s=mimecast20190719 header.b=RbEokQH7; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1serIF-0005Ms-Th; Fri, 16 Aug 2024 03:22:40 -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 1serIB-0005LF-EE for qemu-devel@nongnu.org; Fri, 16 Aug 2024 03:22:37 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1serI8-0003xN-FR for qemu-devel@nongnu.org; Fri, 16 Aug 2024 03:22:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723792950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=52lnIikUh33RIoIT6slButNijvzkwMfM6u659U9bRZk=; b=RbEokQH7MzQKxCU0WEuFEql2UzhBzuj4MC7HuDDj+5sRa9Zz9bqhuGiaYjoGLtsDPanFQr kYqftTJj4TxRt9jVFjWPYqlFXMSuA+1P0E0KWmWNh6Tvc7W1Rrubcg954UNuDJScjRs6Wn OOkCipTE4nY7FkoUVsThVxh1MKCxw8U= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-56-7i40OCWGMQezLrCk7SkTiA-1; Fri, 16 Aug 2024 03:22:26 -0400 X-MC-Unique: 7i40OCWGMQezLrCk7SkTiA-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AF8A319560AB; Fri, 16 Aug 2024 07:22:25 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.192.75]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D2B201956054; Fri, 16 Aug 2024 07:22:23 +0000 (UTC) From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 1/5] target/s390x: fix build warning (gcc-12 -fsanitize=thread) Date: Fri, 16 Aug 2024 09:22:14 +0200 Message-ID: <20240816072218.27125-2-thuth@redhat.com> In-Reply-To: <20240816072218.27125-1-thuth@redhat.com> References: <20240816072218.27125-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.131, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: Pierrick Bouvier 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 Message-ID: <20240814224132.897098-4-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth --- 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 c81e035dea..bcfff40b25 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 }