From nobody Sun Feb 8 08:42:33 2026 Received: from mail-oa1-f73.google.com (mail-oa1-f73.google.com [209.85.160.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 05F2A156661 for ; Wed, 4 Feb 2026 01:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770166866; cv=none; b=TpbkuSbRhZs/pPSml4SQ8UQE7uYPeLhijLgdnQnWyE4W31G/L63xzZAZnHMOMNySW5QrD1RfDeuvhnPJNX5eZGr4fTtuaL9ROyFaQ0hMWuyv0r4vWrwy1DQw1Fr8EzUP2Miw38wdWBHSsge7c5/SfMrDoSTNFhlzFJcBfqKdir0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770166866; c=relaxed/simple; bh=K2zIAuJBNri8ncpYokfo8/PgoablQcYF5/SefsPDxWs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gAvgfSa/qVDwwITgjQVsw/OX9Q6vDWMNwngVYhkE6pAubm3JU11iOu4oPIQlNwTiVi4BmGRs7s7/hZuG5+sheI8dwwtvwTqvZatj4kqymYpzqlap6vYnaP7H23/oWpa7wHlax9gc000clq9Y3B/GUWMEtx2nndAvUZsrIZsUzBU= 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=REdnQZxp; arc=none smtp.client-ip=209.85.160.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="REdnQZxp" Received: by mail-oa1-f73.google.com with SMTP id 586e51a60fabf-4081db82094so1273496fac.0 for ; Tue, 03 Feb 2026 17:01:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770166864; x=1770771664; 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=3UPnxndr62TXi74jS5ggLuZonBBoj400RRud0Xm5q3w=; b=REdnQZxpKJhqrpHh6jLnUbdoANS1YOhkDUhCiBMw01VBzdtfDoGp3YPCDWRu4KzA5B p03ylwnT1wXyBXsB5Uxv6Av72ysqUpsoUqgL49Zjvh3Wrnl7h/xgwLVRGGVe2F/WQ5+1 LqFT6gru/46hzZ7JxlnvWHXKGlDh2/ki4jthnnL1gDhpLWeCIb/r8OFtMQ4O8t5vobyM 23rSdYg4RD+Bb+RIE5+z44olsnuEr/GrPR9oLeUlFfBEyTyYFklAlMqg43KdyJEwLRwa VJjHk864gun/eeQVFrJfFp0XgdEyFHLnXbp6zQs9h4cozy7Mh7Pq1VtbIh6x3icbcWfy 3NVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770166864; x=1770771664; 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=3UPnxndr62TXi74jS5ggLuZonBBoj400RRud0Xm5q3w=; b=QDwqmKc4j+3M1gCnU43mQxBZ6jJ/LVl6XXG79BdXWaPxxeTdYng/y+HEyWGy8Fm7JR h9XZlxTGBMyun33jLw5paVHqvhG0qBQ6LAWpsQcNlonVsMDN4BrQN27KePd4NQSs1va/ R5MGCLulZm9bCpVkVM5ro0lCvDGIJo5DHL6VewbeG5Zu0DiucHfW8RS36iHWL0J+gRmM /r7EDTNhGBtZ8MsTLHRFrIZPhabUsDuCn/3hixq4sg4h5L17zu6exuL3m78cn/R1gnZZ ibAsZpZO/I5qlxzt5zFRRZbOGQoYfM0lKTzjvV6dfOGPaY4SOhNY/BPZ2j2NZlPVZIdH mRzg== X-Forwarded-Encrypted: i=1; AJvYcCVmKq0dMSnhrMaFwUWEYBOFbuGKuQDamVTcHNLyqI6A5Rt9PM+MJE8uld7x5mzwhMXEaD7o4i+gyuRhwM8=@vger.kernel.org X-Gm-Message-State: AOJu0YwvecrwrApIQYIfazOVJduRJrPpLNpQcvf4QLeuVCsL+Zr3db41 44+KP2WLG+AYn6zOi9bQCI5yY4HYMQVizIKZmnB7KL9TdvnmVXt9/oWYoD6fSLW5BgC33XgDH/A 3LX96oYJJdQ== X-Received: from iljw1.prod.google.com ([2002:a05:6e02:13e1:b0:449:39df:417b]) (user=rananta job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6820:4610:b0:662:c6ea:ceba with SMTP id 006d021491bc7-66a2113cb6bmr619875eaf.28.1770166863725; Tue, 03 Feb 2026 17:01:03 -0800 (PST) Date: Wed, 4 Feb 2026 01:00:50 +0000 In-Reply-To: <20260204010057.1079647-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: <20260204010057.1079647-1-rananta@google.com> X-Mailer: git-send-email 2.53.0.rc2.204.g2597b5adb4-goog Message-ID: <20260204010057.1079647-2-rananta@google.com> Subject: [PATCH v3 1/8] vfio: selftests: Add -Wall and -Werror to the Makefile From: Raghavendra Rao Ananta To: David Matlack , Alex Williamson , 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 --- 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 3c796ca99a50..e8f9023cf247 100644 --- a/tools/testing/selftests/vfio/Makefile +++ b/tools/testing/selftests/vfio/Makefile @@ -15,6 +15,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.rc2.204.g2597b5adb4-goog