From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202602 header.b=WmTRBtQ1; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id D0F995A0269 for ; Tue, 21 Apr 2026 05:23:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1776741822; bh=rrlwPggVtQ05PofqpjyKBSgyIZ+IH2DAyWWidUk3cjE=; h=From:To:Cc:Subject:Date:From; b=WmTRBtQ1Hwc0dvaYDdVQmJyJucCR6mjDRDWMlFYYVyAQ49OZOfxanSQSL9HnrEivH R6NhAMz0/xRccCzbYBgT9ocstdR0ZgYb5IFnL5LR/o4pI/ohJ9mWsbhW/E5bZHRSg8 zuAcR1x5vNwsq7crMGPG/TOUMJ3dC+92bcC+LGbu/UXDt1uPd7esA2Em2QHF0TC/5k dVkCi9X5HGngORSAayZLeS86131vK5FHWD3LC/WVpJVniPyII6kIgXApMxZChFTBje IeCYcC2Qtj6JQ5Lbj72kdSaJbmVG8J2YUskMayhDioUjFllOpqnxvbx4u2x1OqSxiN OKMuRpXAPFRZw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4g073y4BhCz4wCH; Tue, 21 Apr 2026 13:23:42 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v2 00/13] Improvements to static checker invocation Date: Tue, 21 Apr 2026 13:23:25 +1000 Message-ID: <20260421032338.1909084-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.53.0 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: DCDRZ3LKRKJNR4YMSLYKEGSR5NAMO645 X-Message-ID-Hash: DCDRZ3LKRKJNR4YMSLYKEGSR5NAMO645 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: While working on pesto, I ran into a number of awkward errors with the static checkers. This series reworks the invocation of the checkers in a way that will let us deal with that. As a bonus, it also gives us static checking for passt-repair and qrap. It also makes a few other cleanups to the Makefile that seemed natural along the way. v2: - Fixed nasty test failure in test/build/build.py David Gibson (13): Makefile: Use make variables for static checker configuration cppcheck: Split out essential defines into a BASE_CPPFLAGS variable Makefile: Remove preprocessor flags from $(FLAGS) Makefile: Remove non-standard $(FLAGS) variable Makefile: Make conditional definition of $(BIN) clearer Makefile: Use common binary compilation rule Makefile: Remove unhelpful $(HEADERS) variable Makefile: Add header dependencies for secondary binaries Makefile: Split static checker targets passt-repair: Split out inotify handling to its own function passt-repair: Simplify construction of Unix path from inotify passt-repair: Run static checkers qrap: Run static checkers Makefile | 106 ++++++++++++++++----------- linux_dep.h | 2 +- passt-repair.c | 171 ++++++++++++++++++++++++-------------------- qrap.c | 42 ++++++----- test/build/build.py | 4 +- 5 files changed, 190 insertions(+), 135 deletions(-) -- 2.53.0