From nobody Mon Feb 9 20:12:24 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1657790999; cv=none; d=zohomail.com; s=zohoarc; b=c670IWB0VQiBoEtemqVA0RmmX3NcX+4b0AXPLtZU4OGt0Agkz8t6Zr1J0rNeiZPX+aAotk1VqeS9xmxGNqGPHLSU6NwPSNe/eRCvlj2P+/cNAM2Al2HVWWVvsXAEKWcQ/mBxpkPuqYR8U6EP3ek/wT8ln6LTUmgYNZwUAcgP0sY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657790999; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=MtsR/tM7k67a4bE2GsvxVx53jg+bM1PYQJk4fjczQuA=; b=M4Oh7/oAWijVnulgtikVOCbJhbvVP594TosqpLtnEGiyQpfP7YN9GGnDwV3RLOvtm8eyhUS64+1T3hs9C7HUiil2flBpwlF7Q52Y2ovMHb4GoXTUtcfwYupnVRr6HZu72pGRTJMjNkA9oDmgJ2LORDcYeZ6aSj/1p4nVStFYOKI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1657790999055910.2548486228994; Thu, 14 Jul 2022 02:29:59 -0700 (PDT) Received: from localhost ([::1]:35788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBvAT-00034p-Rj for importer@patchew.org; Thu, 14 Jul 2022 05:29:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBukK-0005Qj-N9 for qemu-devel@nongnu.org; Thu, 14 Jul 2022 05:02:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:57917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBukF-00062N-Dh for qemu-devel@nongnu.org; Thu, 14 Jul 2022 05:02:56 -0400 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-uWStmG0wMD2soZHh-e8ISQ-1; Thu, 14 Jul 2022 05:02:49 -0400 Received: by mail-ed1-f69.google.com with SMTP id v19-20020a056402349300b0043b0f690cbaso1102319edc.11 for ; Thu, 14 Jul 2022 02:02:49 -0700 (PDT) Received: from goa-sendmail ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.gmail.com with ESMTPSA id i20-20020aa7c9d4000000b004358f6e0570sm685734edt.17.2022.07.14.02.02.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 02:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657789370; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MtsR/tM7k67a4bE2GsvxVx53jg+bM1PYQJk4fjczQuA=; b=cAyUonPskaXbumjAYhGuML6lqJhgl2SFvqkUg+DmeFQZmz4lWYXqRqDTt0gOvqZ/1rE2Cw xc9JM3WC6nJ7uXg7+95ccODWaNvnO/JBDMmvDHLLNgqeQoIq/UDn0cZfF11I/nWKi4pqcH gQ3rYnLhe8TWN/SZptqMy2dCb0g+Fwg= X-MC-Unique: uWStmG0wMD2soZHh-e8ISQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MtsR/tM7k67a4bE2GsvxVx53jg+bM1PYQJk4fjczQuA=; b=LG2b732PbxeTIprEDXZpA7EP5YOBh/77JtZHuI6fBMijcz0jT1tlvzGLQ8/dUSE/Lm VPmwIusUuM6cNytZS1G9z4HsdZAN8qxsCNlPhqHQizuv4VzcUFvkcuO4YC6GIQroTMRN TBp7c1IHjFbmXGjyi/EsF9MsE7cTER5yVGmV43U+ppfJ2OY4bI2YmJRlHLF5NdrvfMOL w8rQXh1CFYoU2GmIfZqGP3puZj6bnNfn/Tuh++IGKKK1nfgHZjNhMT8RB2HLfdjPTOVL FXZbdKsYkDIlAzq6aC7J0F/Op7AJyM69ISACXAICdEiD22Ej5rbyeKxBHQPO2sStlU94 5Cww== X-Gm-Message-State: AJIora+GQwQaafGttbNta5HW3RYzwxLxdj5Y4hW4iwIE6z9VahMZJiBi WEn6hqvhaPDlLFET2DvhOON5k5UF2e2WjTSr7CKbjkgrucN1U1TnwyneuguwFdqCoo0uIjKZeZx lc9CbvW7yMwg0bnjv/dOX2WcaFHoFTwmSB6MmFY0WVM+wM6FIa/yB32TnHMr6Cx6dJlQ= X-Received: by 2002:a17:907:6e13:b0:72b:509e:bd6b with SMTP id sd19-20020a1709076e1300b0072b509ebd6bmr7828987ejc.202.1657789367853; Thu, 14 Jul 2022 02:02:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t1ovsObNJD5PFYsrI5l4Oq0feVgFC7el0HTWE/ZD4KyerGOf5YiwXP5cu5qfhjvxhpCwTu7g== X-Received: by 2002:a17:907:6e13:b0:72b:509e:bd6b with SMTP id sd19-20020a1709076e1300b0072b509ebd6bmr7828969ejc.202.1657789367571; Thu, 14 Jul 2022 02:02:47 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 20/20] pc-bios/s390-ccw: add -Wno-array-bounds Date: Thu, 14 Jul 2022 11:02:11 +0200 Message-Id: <20220714090211.304305-21-pbonzini@redhat.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220714090211.304305-1-pbonzini@redhat.com> References: <20220714090211.304305-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PP_MIME_FAKE_ASCII_TEXT=0.999, RCVD_IN_DNSWL_LOW=-0.7, 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1657791000958100001 The option generates a lot of warnings for integers casted to pointers, for example: /home/pbonzini/work/upstream/qemu/pc-bios/s390-ccw/dasd-ipl.c:174:19: warni= ng: array subscript 0 is outside array bounds of =E2=80=98CcwSeekData[0]=E2= =80=99 [-Warray-bounds] 174 | seekData->cyl =3D 0x00; | ~~~~~~~~~~~~~~^~~~~~ Signed-off-by: Paolo Bonzini --- pc-bios/s390-ccw/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/pc-bios/s390-ccw/Makefile b/pc-bios/s390-ccw/Makefile index 26ad40f94e..c8784c2a08 100644 --- a/pc-bios/s390-ccw/Makefile +++ b/pc-bios/s390-ccw/Makefile @@ -35,6 +35,7 @@ EXTRA_CFLAGS +=3D $(call cc-option,-Werror $(EXTRA_CFLAGS= ),-Wno-stringop-overflow) EXTRA_CFLAGS +=3D -ffreestanding -fno-delete-null-pointer-checks -fno-comm= on -fPIE EXTRA_CFLAGS +=3D -fwrapv -fno-strict-aliasing -fno-asynchronous-unwind-ta= bles EXTRA_CFLAGS +=3D $(call cc-option, $(EXTRA_CFLAGS), -fno-stack-protector) +EXTRA_CFLAGS +=3D $(call cc-option, $(EXTRA_CFLAGS), -Wno-array-bounds) EXTRA_CFLAGS +=3D -msoft-float EXTRA_CFLAGS +=3D $(call cc-option, $(EXTRA_CFLAGS),-march=3Dz900,-march= =3Dz10) EXTRA_CFLAGS +=3D -std=3Dgnu99 --=20 2.36.1