From nobody Thu Apr 2 06:27:04 2026 Received: from mail-oo1-f73.google.com (mail-oo1-f73.google.com [209.85.161.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D85823976A1 for ; Tue, 3 Mar 2026 19:38:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772566711; cv=none; b=cTQYF1u8JafufslHeHOrvvBdG/6yT/KTdv9aoEOuPku1DKB6wZzGq4crGSbdnLI9tX6NBRcSUMxrtx3EgZz7oTXbilw/ohXnqzZdhh7QJq2DzsL2mYwiV+OdOjSvEhjS7+blvsb8ZVunbmI6Wu0g5ja4KEeSDmMM/j6LDoyRihA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772566711; c=relaxed/simple; bh=jjqO7YZCeRuBMZ1mewA6ckPXJHycFjyo86Cvx8Zot6k=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WhD/kuJkBpLEQs7nL/d6zV0gVZh3GQmssT79mJv4lIHlbfmXfoTVZ8A8rPIRh9QcM7N+ZFcP//DUidqWQCcBevC0wpmij1nTLsFE9MSqpuk6qJ/HzsGTp3es95CND3O05gcpyakei4rQeZks0swQ+V58S9uwqZOceup0BR/aFjY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--rananta.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=B4hP5t4d; arc=none smtp.client-ip=209.85.161.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--rananta.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="B4hP5t4d" Received: by mail-oo1-f73.google.com with SMTP id 006d021491bc7-6799654a158so50225122eaf.0 for ; Tue, 03 Mar 2026 11:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772566709; x=1773171509; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=bd3WQNQbvy17FPuSWSlePhR5MFAZI/OI9QfmsSTSzes=; b=B4hP5t4d8SMhp1zVlvhhLlCT0np0GP2IwMGEippf1SDDbUqvSk9qUAz6ufiNSdJyyp /6BCja5hlMV5J4Mj7J3BoQEspB4+jlRug5U7nHjfDNo3H3D9yZv5oL/2PV7krbUr42hM EfAFfEY1UpLK6nRzQt9NaUYVbsp3s82cacTkkmkYyxlXkdJyZkQO8cm8u6EMC6uXeuVG 3j7nX5QYaO9MeML5GoETETSwPfOPEzlzbH2D83t0yrf10r3SEeXFE3VolGcNwOAWIyoO lNZdTghFMpT5I+4kQND7P80YLHhK5naL/7scli7TI69gWNNBLwTaBhyz1L4SJ40usMBe Mh1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772566709; x=1773171509; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bd3WQNQbvy17FPuSWSlePhR5MFAZI/OI9QfmsSTSzes=; b=Njaw8ZL+xWi3c8QvWobLa4ljC2iaAC/b+Quw8QP25ir0XzmW5VbGkmy/87wLVYfzoc FoCyW09M7k7d34go+FQBp1GLyVZfE6ENpoGFnjGEe761o9NOYvYxjwSLbKR7WpR81Ezs eimPyCvhyv/0YYQn39fNlEt9khwNdJIPtpOTBTDPOJOijsUQy2gGX6o0/diGiqYeehH6 KEFu3ylYCc9h9VAgmEM+vEIz2x0nVFOZeq1qgcrmdjQ0YlQfWaERZtQbEB2TJrqGhgF3 iWGEaNsLFgqhC9POuxPfZNNWqZF4hzBtFvtAoVhDn9FK49u4gn38fZ4htWwThCl4bSv9 72rA== X-Forwarded-Encrypted: i=1; AJvYcCWiH1N/cp3Qf8Nex1OvG7CvSclWdt4QLbBqYqdscqpTDxNDNKqQmh/BKxsPzRqyvdq14uwuBR44zzAnhO4=@vger.kernel.org X-Gm-Message-State: AOJu0YxHKECHqWXvUA7aGJqSLgxnSGsNoUmfeR1Vbvxb7ZlEl8tGqRIL kTuEOhgRNtQ/gKQd47fUQ1WzxORSJMEDJ17/k/qA+aM2VdCTz2kvZwqFgSf7Nvcom8b9zXgWewX eCr4sGkcNRQ== X-Received: from jabls22.prod.google.com ([2002:a05:6638:acd6:b0:5ce:b671:f1bf]) (user=rananta job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6820:1b0f:b0:679:e4c0:e022 with SMTP id 006d021491bc7-679faf3e904mr8235457eaf.52.1772566708525; Tue, 03 Mar 2026 11:38:28 -0800 (PST) Date: Tue, 3 Mar 2026 19:38:15 +0000 In-Reply-To: <20260303193822.2526335-1-rananta@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260303193822.2526335-1-rananta@google.com> X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <20260303193822.2526335-2-rananta@google.com> Subject: [PATCH v6 1/8] vfio: selftests: Add -Wall and -Werror to the Makefile From: Raghavendra Rao Ananta To: David Matlack , Alex Williamson Cc: Vipin Sharma , Josh Hilke , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Raghavendra Rao Ananta Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add the compiler flags, -Wall and -Werror, to catch all the build warnings and flag them as a build error, respectively. This is to ensure that no obvious programmer errors are introduced. We can add -Wno-* flags in the future to ignore specific warnings as necesasry. Signed-off-by: Raghavendra Rao Ananta Reviewed-by: David Matlack --- tools/testing/selftests/vfio/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftest= s/vfio/Makefile index 8e90e409e91d8..6a9ac6dd32cb6 100644 --- a/tools/testing/selftests/vfio/Makefile +++ b/tools/testing/selftests/vfio/Makefile @@ -23,6 +23,7 @@ include lib/libvfio.mk =20 CFLAGS +=3D -I$(top_srcdir)/tools/include CFLAGS +=3D -MD +CFLAGS +=3D -Wall -Werror CFLAGS +=3D $(EXTRA_CFLAGS) =20 LDFLAGS +=3D -pthread --=20 2.53.0.473.g4a7958ca14-goog