From nobody Wed Apr 8 23:37:50 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 D869C3CBE7D for ; Thu, 2 Apr 2026 17:31:04 +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=1775151067; cv=none; b=tjkGT4i8DXGqFqsSn1/RIwZcz3fHxdyjqIy2e0qsCQCbimZigCIoWzHKW09gg9RmR7alldMi/cGl83pdJJIDidhS+9Ur+ZTK6tVj+Cent7/RlS/KNMJhiRloldYs4lWVKQ9RuOK9hqr6q5WaQVYi0083PLoxC3d2tK+Y+XlZMnA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775151067; c=relaxed/simple; bh=bz1PD9XLinTkJOb+HRe4/8KWqjjiYrFx/Gxzb9xXPdQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=jjstZlu8uJURb/tMlIt5CUFFh7H8e4/pE8yDfvtLJddeLFOF12E+AduMm25sBzuMcthLK7yxXXaz9deUgIjPV7PKqk7n82+CAgK9PE9VY2/JsQDRuRBf5Q6N9uXXzJ42Nexdgheau9ZrVjc8Zsrd71EClfVEuDeC5aNnF8AcMdo= 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=bFOrpoth; 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="bFOrpoth" Received: by mail-oo1-f73.google.com with SMTP id 006d021491bc7-67e43c3c741so1947033eaf.2 for ; Thu, 02 Apr 2026 10:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1775151064; x=1775755864; 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=BzrGyK2uc3zUqIxfmzmHZpI3JXkJONbs+6fwqNeAC60=; b=bFOrpothlL6eHu6IsMo3kVQ9CWm2f8YywsQnHdSqpz3ZpiuzxJ5vRHa64MOdftnWYW hhjtPI19wRVreY8g50nrAsVi4PhdVy/MC6xPAgs2Xvg4s3A2t0JwngIJ3PAOCZ2PgZgQ szodvCTpohf629H5MgOIwKkrzYwl83f6tEQRBpve/DMUUVt35uo3dKJGYCg+52rq11hN 53liCYmoFFQTGLxLg+X1Ad0tj6/6+VmI9ZlcUsje7y2KDrwHfiXmm/T022aR29fMS431 c0mQ17VSrzyyg7+mtrkMISMAgFCCEJsiOLtTnyWMwnIVwHziNtsijL48DqNohnvv4rvm +f8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775151064; x=1775755864; 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=BzrGyK2uc3zUqIxfmzmHZpI3JXkJONbs+6fwqNeAC60=; b=Nz/QktRO0ULBnpEh3z8HV3ffYXO3XxGo/vgiG/tjAxBVuYLmgrHDzXWJkw6bkbjv3L Mn6N5pVF2XMc7jIkEJci7jtB1lUWv6od8llhgsTdIoni3jx0sRSR8euiMSazpRETBTgu Q/8SsY8PU3g5qzY27gsuRPIHqA0+V6erWjUPo11TO5BVO9awTbqmFHE0qdyqLwBr8hbK POW+3CE2DxsAKZwiSaJMaMe6F69fOr7c9/ZBmYFcEjkeiOH9qTPBpT/2Hh869i3x90Iy zXp/+sQ9GRd+6lV8ZKPDzaOobBCbkdikxCe0TLFWzquOS7HGhgdXuFGaOBZEkzMP4prA 6VLw== X-Forwarded-Encrypted: i=1; AJvYcCWj2e0XxBO05iwW10Ydnz5i4YDhZPg+cOl/ne+bxhiDqElOzocTC3vTAk20q2owwLk7KjOUAVoESQuNQJ8=@vger.kernel.org X-Gm-Message-State: AOJu0Yw6L/AfMrtMWPdtmOKv64lBXOUUJ4j86CAXTJ7zmzjfKM3ynhFu J5Op9xsUaL48iMl7voxX08lF3CZnGSFAiYukt7CFffLe3iVlviWT4Y0PU2B2LYLYFu3Vju06dJj Znfs+JaztPA== X-Received: from jabkl12.prod.google.com ([2002:a05:6638:a98c:b0:5d6:7669:6fe4]) (user=rananta job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6820:a08:b0:67e:16b4:aa1a with SMTP id 006d021491bc7-67fabd0842cmr4453106eaf.54.1775151063588; Thu, 02 Apr 2026 10:31:03 -0700 (PDT) Date: Thu, 2 Apr 2026 17:30:52 +0000 In-Reply-To: <20260402173059.1018805-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: <20260402173059.1018805-1-rananta@google.com> X-Mailer: git-send-email 2.53.0.1213.gd9a14994de-goog Message-ID: <20260402173059.1018805-2-rananta@google.com> Subject: [PATCH v7 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.1213.gd9a14994de-goog