From patchwork Tue Feb 9 01:44:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 1438068 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DZQgz0Lrcz9sSC for ; Tue, 9 Feb 2021 12:45:19 +1100 (AEDT) Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DZQgy6WSYzDvYN for ; Tue, 9 Feb 2021 12:45:18 +1100 (AEDT) X-Original-To: slof@lists.ozlabs.org Delivered-To: slof@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.ru (client-ip=107.174.27.60; helo=ozlabs.ru; envelope-from=aik@ozlabs.ru; receiver=) Received: from ozlabs.ru (ozlabs.ru [107.174.27.60]) by lists.ozlabs.org (Postfix) with ESMTP id 4DZQgp56ZzzDsYs for ; Tue, 9 Feb 2021 12:45:08 +1100 (AEDT) Received: from fstn1-p1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id C4C9BAE80110; Mon, 8 Feb 2021 20:45:00 -0500 (EST) From: Alexey Kardashevskiy To: slof@lists.ozlabs.org Date: Tue, 9 Feb 2021 12:44:45 +1100 Message-Id: <20210209014457.108301-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [SLOF] [PATCH slof v2 00/12] Compile with -Wextra X-BeenThere: slof@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Patches for https://github.com/aik/SLOF" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: slof-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "SLOF" Following the conversation at https://patchwork.ozlabs.org/project/slof/patch/20210122172133.2074177-1-f4bug@amsat.org/ this enables -Wextra with the exception of -Wno-unused-parameter (which this patchset fixes as well, mostly, but not 100%). This is a series to make possible bisecting easier. This is based on sha1 b7ea243afd39 Thomas Huth "virtio-serial: Remove superfluous serial-* words". Please comment. Thanks. Alexey Kardashevskiy (12): libc: Compile with -Wextra elf: Compile with -Wextra usb: Compile with -Wextra veth: Compile with -Wextra virtio: Compile with -Wextra e1000: Compile with -Wextra libnet: Compile with -Wextra libhv: Compile with -Wextra libnvram: Compile with -Wextra libtpm: Compile with -Wextra slof/prim: Compile with -Wextra Makefile: Actually compile with -Wextra include/libelf.h | 6 +++--- include/ppcp7/cache.h | 2 +- lib/libnet/netapps.h | 4 ++-- lib/libnvram/nvram.h | 10 +++++----- lib/libveth/veth.h | 2 +- lib/libc/stdio/vsnprintf.c | 13 +++++++------ lib/libc/string/memmove.c | 2 +- lib/libe1k/e1k.c | 16 ++++++++-------- lib/libelf/elf.c | 2 +- lib/libelf/elf32.c | 6 +++--- lib/libelf/elf64.c | 8 ++++---- lib/libhvcall/rfill.c | 2 +- lib/libnet/netload.c | 4 ++-- lib/libnet/ping.c | 6 +++--- lib/libnet/pxelinux.c | 5 +++-- lib/libnvram/envvar.c | 13 ++++++------- lib/libnvram/nvram.c | 13 ++++++------- lib/libtpm/tcgbios.c | 10 +++++----- lib/libtpm/tpm_drivers.c | 5 +++-- lib/libusb/usb-core.c | 4 ++-- lib/libusb/usb-ehci.c | 3 ++- lib/libusb/usb-hid.c | 2 +- lib/libusb/usb-ohci.c | 12 +++++------- lib/libusb/usb-xhci.c | 17 +++++++++-------- lib/libveth/veth.c | 8 ++++++-- lib/libvirtio/p9.c | 8 ++++---- lib/libvirtio/virtio.c | 2 +- slof/ppc64.c | 12 +++++++++--- make.rules | 2 +- slof/prim.code | 3 +++ 30 files changed, 108 insertions(+), 94 deletions(-)