From: Paolo Bonzini Subject: Re: [kvm-unit-tests PATCH] s390x/intercept: Fix problem with bad compiler warning Date: Tue, 27 Jun 2017 14:09:31 +0200 Message-ID: <42c856d8-9c3e-1b80-aee3-3e0434dfed74@redhat.com> References: <1498537095-627-1-git-send-email-thuth@redhat.com> <250f0a2e-0e0f-cdcf-e939-0fbd8a2ef5b2@redhat.com> <5d79acce-1cb8-3b8e-def3-e495f8c91244@redhat.com> <4c4e4102-7ae8-f8bb-afcf-3f4c6a1b353b@redhat.com> <20170627113248.jlrwev3tvvfz7gk3@kamzik.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Thomas Huth , David Hildenbrand , kvm@vger.kernel.org, =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: Andrew Jones , Laurent Vivier Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40326 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752142AbdF0MJo (ORCPT ); Tue, 27 Jun 2017 08:09:44 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D583D80F96 for ; Tue, 27 Jun 2017 12:09:43 +0000 (UTC) In-Reply-To: <20170627113248.jlrwev3tvvfz7gk3@kamzik.brq.redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 27/06/2017 13:32, Andrew Jones wrote: >>> The problem is that -Wextra often produces unfounded or even wrong >>> warnings, like in this case. I'd prefer to add the individual parameters >>> that rather always make sense instead, like -Wtype-limits for example. >> I agree, removing -Wextra and adding individual parameters seems to be a >> good solution. > Fine by me. I'll happily review whatever somebody posts :-) And I'll happily apply a patch that just removes -Wextra in the meanwhile. :) Paolo