From mboxrd@z Thu Jan 1 00:00:00 1970 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 753DBC433EF for ; Thu, 5 May 2022 14:09:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380397AbiEEOMm (ORCPT ); Thu, 5 May 2022 10:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242724AbiEEOMj (ORCPT ); Thu, 5 May 2022 10:12:39 -0400 Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [170.10.133.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4418C44A19 for ; Thu, 5 May 2022 07:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651759739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VzI9JvCxja3W1WlPRY5tnznUwEDg18sqNajkevf1Dr8=; b=GrMlOfbM3j+DXsYRHJ37ojBdBwOdgRdU7M/NwP9svuTlrEVjTSgcxOMeoUnS17wYBu28+s 4K04WTOtzNtKxQSK4mFp6TSsZ7x1ttJX9M3gLq+JHbA8L6pdEdySIf78TtoTa5bTx/AiIr Me65lvFOsfgJLZQzy0zg03EXF5vUQ18= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-404-lCypbHiIOT-4gulVVRPKaA-1; Thu, 05 May 2022 10:08:58 -0400 X-MC-Unique: lCypbHiIOT-4gulVVRPKaA-1 Received: by mail-wm1-f71.google.com with SMTP id c125-20020a1c3583000000b0038e3f6e871aso1756305wma.8 for ; Thu, 05 May 2022 07:08:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=VzI9JvCxja3W1WlPRY5tnznUwEDg18sqNajkevf1Dr8=; b=1601L22kSLqiT5MW3PnmR4+WK0ejLt7QL9xmHOWwRRB+dv0Nhtoh0EgUpMZKdCd4KW PvQ+q3l3opwCO5QPEJEh+05gfAPD9hI+qx1dcO7dWFVGJjNaHTZddyHhYaz9s1ABIuX+ 21GbYIxtQVrFvHgmt4Hn29TwdGmbIkB3Bcy/bm9uxbSQ2fA1ubOpMSyQ/emNP42Td9B5 1L509AbsH7l1up3nkgantKxlpN+vSN10W7KQLfwe6ypw/uYtGbKF6jLZQbeBDxj904PF VNilCrX10jPHHf5lO/28UvqwqVKzaty4lOHgu574jhnwpRbmp4fxEdGyeav3PCnhtcmk +tYw== X-Gm-Message-State: AOAM530oeIVsRPIX6t+ROqeV5iEnxjpfpRO6vxu2Aykg2OSW8DWYdcKR 7w9NdGFMycdkI0evPmWncu2ryk924qs7mfLwGVFdTgYaWFhXK2W+R9wkDxvX3bKC8K2nsO8gWAf XXPn5DQ17hgF2 X-Received: by 2002:adf:cc82:0:b0:20a:cf3b:4624 with SMTP id p2-20020adfcc82000000b0020acf3b4624mr20695797wrj.573.1651759736806; Thu, 05 May 2022 07:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycDSaP/HTRh31DRv1701UdMU8PXjQJEzz5lOf8or8YKiW2KqGjGdEQ8AWqpQqk7+z32NLSWg== X-Received: by 2002:adf:cc82:0:b0:20a:cf3b:4624 with SMTP id p2-20020adfcc82000000b0020acf3b4624mr20695779wrj.573.1651759736570; Thu, 05 May 2022 07:08:56 -0700 (PDT) Received: from fedora (nat-2.ign.cz. [91.219.240.2]) by smtp.gmail.com with ESMTPSA id b4-20020a05600010c400b0020c5253d8fesm1259871wrx.74.2022.05.05.07.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 07:08:55 -0700 (PDT) From: Vitaly Kuznetsov To: Sean Christopherson , Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Andrew Jones , David Matlack , Ben Gardon , Oliver Upton , Sean Christopherson Subject: Re: [PATCH 003/128] KVM: selftests: Unconditionally compile KVM selftests with -Werror In-Reply-To: <20220504224914.1654036-4-seanjc@google.com> References: <20220504224914.1654036-1-seanjc@google.com> <20220504224914.1654036-4-seanjc@google.com> Date: Thu, 05 May 2022 16:08:55 +0200 Message-ID: <875ymk137s.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Sean Christopherson writes: > Specify -Werror when compiling KVM's selftests, there's zero reason to > let warnings sneak into the selftests. > > Signed-off-by: Sean Christopherson > --- > tools/testing/selftests/kvm/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile > index af582d168621..c8efaaeb0885 100644 > --- a/tools/testing/selftests/kvm/Makefile > +++ b/tools/testing/selftests/kvm/Makefile > @@ -153,7 +153,7 @@ LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/x86/include > else > LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include > endif > -CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ > +CFLAGS += -Wall -Werror -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ > -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ > -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \ > -I$(