From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.125.25.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796162546; b=JkKOPRl5sb1tEq62/DGQ2mjEzVzxcL1nxaqnzHHYlQojugICPlhl7TkoiZ8Ipbyl1nar YI78XGGHZuzKcCPaM1vSoh6Qlwc+imehdTDk2x65jAE0hyxRVd3Jq/eGum7gKfF8vUsYS TCpiagpxDpNKG5o14Wi4xkns9UnJEC0/fOAP5zApbqDslgMX7ZRhkkpBs/KL+kdcjGZfO f41oyS5qCFNUQUZM+KaluhVIzz7r3xo0WFBLgmIqIJ/UefQyHFm5JdNPquNDrIXXLfgjd 2l0j/MK0fNfBq7IecnZNl/6ek2bkAJJqsVKAj7xF/CyjnR6Jm3gHvTT9o6Q1VPGb6cQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796162546; h=DMARC-Filter:Received:DKIM-Signature:Received:Received:From:To:Cc: Subject:In-Reply-To:References:MIME-Version:Content-Type:Message-Id: Date:X-Infomaniak-Routing; bh=HQZ7tv2+FuiJ8pdK1OwgocHb7LiCcV/bIOa5SSrqTPQ=; b=hMpe8sSNYDEM7Y2i6lahUVZgaT31+4f/8/kkHSD7jnKh94qtDUqRrlte2ZByODVMrt1/ EZBA5k0XCsqBA6g9i5mPqo84uIbP874/y0RkPIFwRtJknMWyqZF5BxLagg/pgTPhCl7zk TN0hJd4vCitacwvmVGCS6PhbOuqE3iFBf+BpeBuKpd3wLxgsY1I4KGFWSQvL6Vxp2Z91P XxNFnh8sV9jq0H53D0YM1BPjSJYs8r8l6Ctc/4TOBZLoM09Qz4vHCS03GtmTc/xFqXxLh ULBLKwgrfIaDpwXVdlUgISNNskziXbc2ILjLIz8csnBatJu9FKM0nu0GX4pH5W2vYCg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=daylightlinux.ch; spf=pass smtp.mailfrom=daylightlinux.ch; dkim=pass header.d=daylightlinux.ch header.i=@daylightlinux.ch header.a=rsa-sha256 header.s=20261016 header.b=flcSx0Me; arc=none smtp.remote-ip=185.125.25.13 Received: from smtp-190d.mail.infomaniak.ch (smtp-190d.mail.infomaniak.ch [185.125.25.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9C76606A320 for ; Tue, 1 Dec 2026 22:02:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A9C76606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=daylightlinux.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=daylightlinux.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=daylightlinux.ch header.i=@daylightlinux.ch header.a=rsa-sha256 header.s=20261016 header.b=flcSx0Me Received: from smtp-4-0001 (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000 (Postfix) with ESMTPS id 4jfFHG1xlZz17TQ; Tue, 1 Dec 2026 23:02:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daylightlinux.ch; s=20261016; t=1796162538; bh=HQZ7tv2+FuiJ8pdK1OwgocHb7LiCcV/bIOa5SSrqTPQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=flcSx0Melp/BeyEVMCqhGcz4m2tIeb9cywxl7mPn1rMtte5IdxIYu/iR8uvW1SlVI WD8+Z5nkN9pPS+1sqlq1y/bmgvl9Fvyb9hLJoCjSJQ1oO8YRlz7eDj0FpGY8YxNQy0 0twHJm3ugTrjUD70G2SJFr2wWL8CNuryp+3VbL948WNbZAKK/iEBb0eSxlH/vAXSfF uqQ3xZOkb/IcvwbofYKhnPYpG4Jm2Yral5mNGF8vgMRSCd0TPmCmyMa71ydudGdjCA aD9uxeZqMFC3qx/PBNpGZIkPjPlnrh3csoV5w3GL82WJ1dnf29mBg7Gm9JizxEyMkf cPiWARET5x6Ww== Received: from unknown by smtp-4-0001 (Postfix) with ESMTPA id 4jfFHF3krJzLSY; Tue, 1 Dec 2026 23:02:17 +0100 (CET) Received: from unknown by raspberrypi.home with local (Exim 4.96) (envelope-from ) id 1xYVvV-004kDq-0N; Tue, 01 Dec 2026 23:02:17 +0100 From: Hamdy Abou El Anein To: Omer Zalman Cc: Nathan Chancellor , Nicolas Schier , llvm@lists.linux.dev, linux-kbuild@vger.kernel.org Subject: Re: [RFC] scripts: should run-clang-tools propagate analyzer failures? In-Reply-To: References: X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Message-Id: Date: Tue, 01 Dec 2026 23:02:17 +0100 X-Infomaniak-Routing: alpha Hi Omer, I independently encountered the same issue in run-clang-tools.py while reviewing Linux v7.4-rc5 and subsequently found your RFC. I have prepared a small fix with AI assistance that propagates a nonzero exit status from the clang-tidy workers to the caller, while still running all workers and preserving their diagnostics. I reproduced the issue and tested the fix with clang-tidy 23.1.5, using small compilation databases in both clang-tidy and clang-analyzer modes. All ten test scenarios passed. I have not tested a full kernel compilation database. Are you still planning to submit a patch for this issue? If not, and if the maintainers agree that propagating failures is the intended behavior, I would be happy to submit my implementation with a Reported-by tag crediting you, subject to your consent. I wanted to coordinate with you first to avoid duplicating your work. Best regards, Hamdy Abou El Anein