From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=fail (p=quarantine dis=none) header.from=redhat.com Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id DA4F15A026E for ; Fri, 20 Nov 2026 02:32:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795138375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gIXFzl1PCz77c2NTJUCUpQR3wlQ6ujvFXH42AzmQseU=; b=XLcJ/3Lj2PgvHw5raZZKH+Hb1dVjbEjfDxKuIxQkVoYh+34KPOlym/lEwWiHaE58epo3ZD La/T/LY7bL/fOJ+PYqu0UK6HhsgaUSbkKtmTO4bpYn9FkfCazPk9vGfk23GF2XJAhXRDMX hzPOwwxFZe7pZESaf3AZdVCpWiq24Uk= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-128-5MguT3OsP5qwkTFG7__Idw-1; Fri, 20 Nov 2026 01:32:52 +0000 X-MC-Unique: 5MguT3OsP5qwkTFG7__Idw-1 X-Mimecast-MFC-AGG-ID: 5MguT3OsP5qwkTFG7__Idw_1795138371 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 94814195604C; Fri, 20 Nov 2026 01:32:50 +0000 (UTC) Received: from jmaloy-thinkpadp16vgen1.redhat.corp (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 168F81801971; Fri, 20 Nov 2026 01:32:48 +0000 (UTC) From: Jon Maloy To: sbrivio@redhat.com, david@gibson.dropbear.id.au, jmaloy@redhat.com, passt-dev@passt.top Subject: [PATCH 0/3] Fix 'make clang-tidy' with clang-tidy 23 Date: Thu, 19 Nov 2026 20:32:45 -0500 Message-ID: <20261120013248.1472649-1-jmaloy@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: meL_QnMixQ5Pk0lk-UZCGql5iJVE6znMGibArYrcxu8_1795138371 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true Message-ID-Hash: PZ7F5ZPHJRG7IOV5TX72REKYYKX7E73S X-Message-ID-Hash: PZ7F5ZPHJRG7IOV5TX72REKYYKX7E73S X-MailFrom: jmaloy@redhat.com 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 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: Fedora 45 ships clang-tidy 23.1.5, which breaks 'make clang-tidy' for three reasons: clang-tidy 23 dropped the hicpp module, so our existing exclusion for hicpp-signed-bitwise no longer applies to the check, now called bugprone-signed-bitwise; it adds a few new checks that don't fit our coding style; and an existing check now flags some redundant parentheses in passt-repair. Patches 1 and 2 adjust .clang-tidy, patch 3 fixes passt-repair.c. With these, 'make clang-tidy' passes again for passt, passt-repair and pesto, and nothing changes for older clang-tidy versions. Jon Maloy (3): clang-tidy: Also disable bugprone-signed-bitwise clang-tidy: Disable checks new in clang-tidy 23 passt-repair: Drop redundant parentheses around stat() calls .clang-tidy | 18 ++++++++++++++++-- passt-repair.c | 4 ++-- 2 files changed, 18 insertions(+), 4 deletions(-) -- 2.56.1