From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f74.google.com (mail-ot1-f74.google.com [209.85.210.74]) (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 9A7DD39A7E6 for ; Tue, 24 Feb 2026 18:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771957539; cv=none; b=G4bTo4Xi09ZwOomd7llcsCbP9SNBGlTqaO+krCxJrCCmph9ihmLbOKoyAd10H14mkwU77Bw3xPl0OxCS3UTARtE3UrEz622nemrwVFOCazmTzSODdiaxgLcalXIeu3VdYGwFAWHNE/HhM3yLnUAsVTlAqqn0UYWi7mlcXNgfpgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771957539; c=relaxed/simple; bh=VPgmUc1W/PstaSNg9BA0aLpGy2DMtKlMVZ2vml+wXjk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=iw5ZAh9CW0kcQ0aYzl4ahAu4k8t+OSF+S033K/WvIOvcfLcn0zF6iP0bOhi1YKyx22ZJSd6n6eYverMILygiSLUQlf7bSwXoI3MaWYJoKvegVEW9Tof3cubwzpW2S5A3MIwXKMlIdv1uuxZPdUhFupNi95/L8QQRf4h6PDbqL4o= 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=A5qTWEda; arc=none smtp.client-ip=209.85.210.74 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="A5qTWEda" Received: by mail-ot1-f74.google.com with SMTP id 46e09a7af769-7d4bd29099eso71121257a34.2 for ; Tue, 24 Feb 2026 10:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771957538; x=1772562338; 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=7yYcH80TlRJEoXywxjzS5+u+dAUmU/HoiYfOPoDy8HQ=; b=A5qTWEdajE5fzN0gcNA4ixGeTeEsn675C24bOFpysdcIHcosWS4NUJJyxI+pztJmpf 9JcywjjGhgd8Ych9cePNsiaY0zXblMyxg89RR1LPoYJWgqOdp8Camyb8NRZHpTvWYmYX 9VyG1KegwN08aMgJGYSZ9+YdLmJ04YNPVGvCQxOUwxHxi4be52nx3rX6WCS+6C6iev8V jNns6sFuLhEt0jDPLR4J/0nHowvMQEJpBHqxBgWkAt4Igj4f/lrebJjqfHtbRQk7yFxR vWg394ngJ47bHMVCsoKOEVg885E+oFHqaKqZTBYKR1mooxJWxL5ilJp+jJ+o8EiIM8jx v/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771957538; x=1772562338; 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=7yYcH80TlRJEoXywxjzS5+u+dAUmU/HoiYfOPoDy8HQ=; b=LjX0MNZZBwanfiUQK2FBWiSuFEQX9BQ4WoFtlCbJ5aVnKaSR3bO5cR03hSSM61S2mg Eyn0y5MJjW1TE9gMTGlCosyAuvwnAT+OYus1bs2xfklHMvSq0wyNXZaujWl5P537ZYrv VnmTEdF3YD4cdq4kn3hEv1v7wPRKYgvoqHfO+J13cPhFjdB4q83zktkLxCMszCbJ9Jw6 F31SbiS/dOdhi5Z6bSWzn6I9eeUbMMtT62+Ei3gmd+oc+Y+/ChAvUbjH5HRvb8LDQTnI PMWxGTUHTV4AcQj4E0V+14K1CC0xZy4UJUbpLpg2sywDvjgB6UQq28tSmtLTmpJOo4Gh PSAA== X-Forwarded-Encrypted: i=1; AJvYcCXLpvvJU5F+4v9qSu+RZFwTb+n1zTkQlAvluE46euIiZhdyH1hWNhTVv3nWmR3I7RtVbC69svzHm5HVudY=@vger.kernel.org X-Gm-Message-State: AOJu0YwuPbXwoQe321jVRBtYFKog9+YUt4DkJYqdfKQYTBD4NpJvf4dN doWehBjuZkeHQ5stNpAVwZmJyT771FB86fBQ8jloXTSnrr2lDbJSbfe9tfrc9AinO20dOaqimAC XeZlxp5sjkw== X-Received: from ilqk1.prod.google.com ([2002:a92:c9c1:0:b0:4e0:8c1e:e15]) (user=rananta job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6820:169e:b0:678:a4f1:c369 with SMTP id 006d021491bc7-679c44754c9mr6789966eaf.24.1771957537453; Tue, 24 Feb 2026 10:25:37 -0800 (PST) Date: Tue, 24 Feb 2026 18:25:25 +0000 In-Reply-To: <20260224182532.3914470-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: <20260224182532.3914470-1-rananta@google.com> X-Mailer: git-send-email 2.53.0.414.gf7e9f6c205-goog Message-ID: <20260224182532.3914470-2-rananta@google.com> Subject: [PATCH v4 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-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 --- tools/testing/selftests/vfio/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vfio/Makefile b/tools/testing/selftests/vfio/Makefile index 3c796ca99a509..e8f9023cf2479 100644 --- a/tools/testing/selftests/vfio/Makefile +++ b/tools/testing/selftests/vfio/Makefile @@ -15,6 +15,7 @@ include lib/libvfio.mk CFLAGS += -I$(top_srcdir)/tools/include CFLAGS += -MD +CFLAGS += -Wall -Werror CFLAGS += $(EXTRA_CFLAGS) LDFLAGS += -pthread -- 2.53.0.414.gf7e9f6c205-goog