From: Paolo Bonzini Subject: Re: [kvm-unit-tests PATCH 0/3] Some more improvements related to compiler warnings Date: Fri, 30 Jun 2017 12:08:08 +0200 Message-ID: References: <1498761773-11164-1-git-send-email-thuth@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: David Hildenbrand , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Laurent Vivier , Drew Jones To: Thomas Huth , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51006 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbdF3KIP (ORCPT ); Fri, 30 Jun 2017 06:08:15 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BEDC17D0DD for ; Fri, 30 Jun 2017 10:08:14 +0000 (UTC) In-Reply-To: <1498761773-11164-1-git-send-email-thuth@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 29/06/2017 20:42, Thomas Huth wrote: > Two patches to get rid of -Wextra and use other warning flags > globally instead, and an additional third patch to make some > functions "static" (to be able to compile the files with the > "-Wmissing-prototypes" parameter) > > Thomas Huth (3): > Move flags that are shared between C and C++ into COMMON_CFLAGS > Replace -Wextra with a saner list of warning flags > Mark some local functions as "static" > > Makefile | 27 ++++++++++++++++----------- > arm/Makefile.common | 1 - > arm/pmu.c | 2 +- > lib/pci-testdev.c | 4 ++-- > lib/printf.c | 8 ++++---- > lib/x86/fwcfg.c | 2 +- > powerpc/Makefile.common | 1 - > s390x/Makefile | 1 - > s390x/intercept.c | 2 +- > x86/Makefile.common | 4 ++-- > x86/Makefile.x86_64 | 2 +- > 11 files changed, 28 insertions(+), 26 deletions(-) > Applied, thanks. Paolo