From: Thomas Huth Subject: [kvm-unit-tests v3 PATCH 0/3] Some more improvements related to compiler warnings Date: Fri, 30 Jun 2017 12:00:16 +0200 Message-ID: <1498816819-32666-1-git-send-email-thuth@redhat.com> Cc: David Hildenbrand , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Laurent Vivier , Drew Jones To: kvm@vger.kernel.org, Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:59460 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbdF3KA0 (ORCPT ); Fri, 30 Jun 2017 06:00:26 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7F4FAC0467DE for ; Fri, 30 Jun 2017 10:00:25 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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) v3: - Fixed the stupid type on the "(f)rame-pointer-flag" variable in the second patch 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 | 25 +++++++++++++++---------- 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, 27 insertions(+), 25 deletions(-) -- 1.8.3.1