From patchwork Wed Jan 27 08:57:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kardashevskiy X-Patchwork-Id: 1432130 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 4DQffT10lrz9sWD for ; Wed, 27 Jan 2021 21:17:05 +1100 (AEDT) Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DQffS5h9kzDqkL for ; Wed, 27 Jan 2021 21:17:04 +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 4DQfdk5W8HzDqjW for ; Wed, 27 Jan 2021 21:16:26 +1100 (AEDT) Received: from fstn1-p1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id 16047AE80273; Wed, 27 Jan 2021 03:58:00 -0500 (EST) From: Alexey Kardashevskiy To: slof@lists.ozlabs.org Date: Wed, 27 Jan 2021 19:57:39 +1100 Message-Id: <20210127085752.120571-1-aik@ozlabs.ru> X-Mailer: git-send-email 2.17.1 Subject: [SLOF] [PATCH slof 00/13] 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: , MIME-Version: 1.0 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. This is a series to make possible bisecting easier. This is based on sha1 6184ca06c8d8 Gustavo Romero "board-qemu: Fix comment about SLOF start address". Please comment. Thanks. Alexey Kardashevskiy (13): helpers: Define MIN() 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/helpers.h | 1 + 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 | 15 ++++++++------- lib/libc/string/memmove.c | 2 +- lib/libe1k/e1k.c | 16 ++++++++-------- lib/libelf/elf.c | 2 +- lib/libelf/elf32.c | 4 ++-- lib/libelf/elf64.c | 6 +++--- 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 | 7 +++---- lib/libusb/usb-core.c | 4 ++-- lib/libusb/usb-hid.c | 2 +- lib/libusb/usb-ohci.c | 12 +++++------- lib/libusb/usb-xhci.c | 4 ++-- 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, 98 insertions(+), 89 deletions(-)