From nobody Sun Feb 8 01:58:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E663CE7AD63 for ; Tue, 3 Oct 2023 14:25:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239884AbjJCOZl (ORCPT ); Tue, 3 Oct 2023 10:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232389AbjJCOZf (ORCPT ); Tue, 3 Oct 2023 10:25:35 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2070.outbound.protection.outlook.com [40.107.7.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE65AB for ; Tue, 3 Oct 2023 07:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gQs2u2n5dKUIIzWML6Yoo4hP1sc+lfg45hsNKrwZ1/xcZLYusGRxpnKK8z5XueBcx4lNQTaNPOTx+slPtYEDvjjmSD1iY7G1wHxGucCUw3XBzwHXy/sltJKETOOwgOa1/1U/Qj/FshvAvoLqLWYUB58/4TXHZUhVlPIhZDghvXP0R/QzAKlsKM3LEvyAf8hcngX0VzfgrjhPGVGl8zqRNU+xY3RpnwLaklque6YgEEs22k8pjGpQn1FXgqX2T81VA8dmo+whVafPVGDxJR57TcuGQmRgN7c6+T+8mrJfh5OXqYymWHjWtCPiq2S2EdUtXj6dfntHrNppIVRUukBlPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9zTCmGGyr1h/g16CixRFqpMl0ejUnIac9z6XyfTFKh8=; b=a3d/bYrGPkRpBvVWiJdYaWet2b3KuA88plzFxlmClLf3dj6yz0RzxQ3B2keeEBsXk/Tgf50nlC4gy/fnVZJHLVfFGAItpCr9vLGcrzA3ix5KnPhi7V+UeA3vf3W6ADKSe46pNvwc+Wukt+el42UYlPNCdNjCBK29mAqweL2kEUhqU6aiFphBf6hrhYA95druOp7SbM8og8VfG382hMM1DA/pb8npX1YkL9RVtwtlGJnYsZ8KgRK6ovee3bgUYXM+2KoA2A+tHYmYukRwPzGxId9FBlpM03BqPpFzugZLZFja6PY42EI78jH19E5sMse3gC9XxG6/N3HWVmDhU/kMbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=imag.fr smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9zTCmGGyr1h/g16CixRFqpMl0ejUnIac9z6XyfTFKh8=; b=JB0AUPsK7iUSMji+wFJXfIszAv+FzXF6fpUM/uMRGM6hFXhppZ+KqkdoRKBg8nuHFw3QFkECU9SFlUO7qsgeHuHr8IGEvPy609Lp44rr9JLz70bwD1HGvLmLWNbyRGwQJnFmwEWlI2OOIkMrmTi1Sp3TYFo6gl4FyQLU98441Do= Received: from AS9P194CA0012.EURP194.PROD.OUTLOOK.COM (2603:10a6:20b:46d::31) by VI1PR02MB6381.eurprd02.prod.outlook.com (2603:10a6:800:19f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.28; Tue, 3 Oct 2023 14:25:26 +0000 Received: from AMS1EPF00000043.eurprd04.prod.outlook.com (2603:10a6:20b:46d:cafe::e5) by AS9P194CA0012.outlook.office365.com (2603:10a6:20b:46d::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Tue, 3 Oct 2023 14:25:25 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AMS1EPF00000043.mail.protection.outlook.com (10.167.16.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Tue, 3 Oct 2023 14:25:25 +0000 Received: from se-mail01w.axis.com (10.20.40.7) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 3 Oct 2023 16:25:25 +0200 Received: from se-intmail01x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 3 Oct 2023 16:25:25 +0200 Received: from pc46047-2141.se.axis.com (pc46047-2141.se.axis.com [10.88.90.3]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 750342884; Tue, 3 Oct 2023 16:25:25 +0200 (CEST) Received: by pc46047-2141.se.axis.com (Postfix, from userid 10867) id 6FADE47A708B; Tue, 3 Oct 2023 16:25:25 +0200 (CEST) From: Anton Eliasson Date: Tue, 3 Oct 2023 16:25:14 +0200 Subject: [PATCH 1/2] scripts: coccicheck: Return error from run_cmd_parmap MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20231003-coccicheck-v1-1-07d2d900a52a@axis.com> References: <20231003-coccicheck-v1-0-07d2d900a52a@axis.com> In-Reply-To: <20231003-coccicheck-v1-0-07d2d900a52a@axis.com> To: Julia Lawall , Nicolas Palix CC: , , Anton Eliasson , X-Mailer: b4 0.12.3 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AMS1EPF00000043:EE_|VI1PR02MB6381:EE_ X-MS-Office365-Filtering-Correlation-Id: e91fec47-13b0-4bb5-bc56-08dbc41c9611 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YSYgUphrw0M3UdlnEtYzurZqGBgNVdDrQL2mFevrfVFpLMRx+nJp5vEn+EBJKmsW9xo5WFMR+Rn8P1aKdcqXxZO4mCfa4C/qhip/OkZvjUyNSOinOxJSzbeLIQME0VGQhBObn1jxYJ7qMNAQT2mzrniwHnpRpOH6sMjmnY4en8vUTza0TPJT+DLFanvny3jd6n3u9UEdu2NBmU6W4OObC8A5kRjlS/vQd1Xq45zny9khR9rsLoHIspcFynC7qwRUspMv8KVE1sjBS1tfi/jlKn/mRSJQjqESxBY/hW/s8Qz9G75K3ktsUt6dy3tMdsiIqZsR3RdDABDE0gEUDPXq7jPr+g+QKuV5MVlld3CbycDBsZQ21ExK7FTINbIlTi7HLrRpOyMG/jcwpUQLBO5CqCqIeSR2hWI/fonGdPfcpUgK3ihONPldBjQVMw7SfVl26Vf7b4LdLtC9zNjhUxG7NoRwe18VasSbuOq+7pDsoYF+Dg975I/yzE+kjGflUKK78U+oz82vDwK2SMQxOqYZLZZgCorVbhdj4sWYJ4IhMySnD9LOgyDAt7K25wOJiZPq8xSH7fKG2Zu6bD7TcQ/M28WRnCDKJgIfHNaoFS9v2IBlBJVi2oJlKYwGQmJ8FMHgRFI5DHtjjwQeRkDJm5eJPQo+VbB4+ujkoMUljMh/bI2H4ACqI0vu8LYgiCNI0EZUJf2d1xgwxncKWGTy2V5xnEsxyTGNF7QpX70oeOcj/UffrY4g63kJAymWcJgSP46jc+9j2d1+qG4zETp4RZjnTQ== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(376002)(346002)(396003)(136003)(39850400004)(230922051799003)(451199024)(1800799009)(82310400011)(186009)(64100799003)(40470700004)(46966006)(36840700001)(41300700001)(107886003)(110136005)(2616005)(316002)(70206006)(54906003)(42186006)(70586007)(44832011)(8676002)(4326008)(26005)(5660300002)(8936002)(6666004)(478600001)(336012)(6266002)(426003)(40460700003)(4744005)(2906002)(83380400001)(47076005)(40480700001)(36756003)(81166007)(356005)(36860700001)(82740400003)(86362001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 14:25:25.8617 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e91fec47-13b0-4bb5-bc56-08dbc41c9611 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AMS1EPF00000043.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB6381 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Exiting on error breaks the chain mode. Return the error instead in order for the caller to propagate it or in the case of chain, try the next mode. Signed-off-by: Anton Eliasson --- scripts/coccicheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coccicheck b/scripts/coccicheck index e52cb43fede6..95a312730e98 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -153,7 +153,7 @@ run_cmd_parmap() { err=3D$? if [[ $err -ne 0 ]]; then echo "coccicheck failed" - exit $err + return $err fi } =20 --=20 2.30.2 From nobody Sun Feb 8 01:58:22 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CC3EE7AD5E for ; Tue, 3 Oct 2023 14:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240025AbjJCOZi (ORCPT ); Tue, 3 Oct 2023 10:25:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239769AbjJCOZe (ORCPT ); Tue, 3 Oct 2023 10:25:34 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2077.outbound.protection.outlook.com [40.107.8.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E3EEA3 for ; Tue, 3 Oct 2023 07:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5l1qg69O+JO0PKgR/rU0LmnKO66ZuGcPijDt/YrIW+OMBP0YTXnowwAElHG9RWQwrIbkBP6fVQ5x1khXQBXark67MHkfT3UHIlveIOx7PGVgiuGpnbmvvELacNPFOWz3EmuJEAsIm1AOrvF+z0vh53cpv41WLStoCdHFg3HBc9Ggr5si6+2q+xyqVgQ9Fp3mvcj66NejJ6HCr9xiHx4dsCCOEU7Nq66N283XnznRk7edAVpCbyXPH4K32Q9VlmabpiBam31Q8M+Is5tiOfyPT8Tm6uX/+sujiAmcK1ijhThwXcW+LEVln4Ow8sIqanEefI145WpB0+IKlFt+7sW6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uEIddT3DE1CnlRRHb52e8dOQqb77tH9rp+AFVrYnw4E=; b=VsRNq7INHMsyiI4smRAikgDKN+VMMQodXaCvPSzyesuV6OIFWeCP3lDHd5TtxJd4L40mDE0QHMo1fnjbVooRVBtHZuYbDPpWeyIGm5RHrjqO43GnJ6jiJri0bsR46KHcus+KTcyeMuhwaxauj72ZMWh6MSGK0Mz4Q2bajrOHC1ffVR2BGBnuB/7oToqcaaoLfW1SYOAfbcBQ74n4mLE198XF8iW0C3v/UoVVGU/KzJxgsuf5pNccGZFKGJL7Mf7q7IS6v+zMgLNNN8twQ6Mi5GFXl819HaSotGeGDdVF36P53oyAn4Tbmnjav0gmi4tGOH4G0lSLAhl71AC+STrfVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=imag.fr smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uEIddT3DE1CnlRRHb52e8dOQqb77tH9rp+AFVrYnw4E=; b=aYoIOBPsP6McV2jj+Q0AKsostcVfbo0VzLISHm6qYspjJW1WHaRFZnZfEfeeX4O5aQUM2DX+DB1Y7KHLmulq8umh9HtE72xoJ7VVValpNNZJMVnX3g320N4ua8PPOgdfvONNY5dAz1hORys6GacKhwEtlQAdbf0O7EvjptA8gd0= Received: from AM6P192CA0052.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::29) by DB9PR02MB6618.eurprd02.prod.outlook.com (2603:10a6:10:214::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 3 Oct 2023 14:25:26 +0000 Received: from AM3PEPF00009BA1.eurprd04.prod.outlook.com (2603:10a6:209:82:cafe::30) by AM6P192CA0052.outlook.office365.com (2603:10a6:209:82::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Tue, 3 Oct 2023 14:25:26 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AM3PEPF00009BA1.mail.protection.outlook.com (10.167.16.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Tue, 3 Oct 2023 14:25:26 +0000 Received: from SE-MAILARCH01W.axis.com (10.20.40.15) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 3 Oct 2023 16:25:25 +0200 Received: from se-mail01w.axis.com (10.20.40.7) by SE-MAILARCH01W.axis.com (10.20.40.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 3 Oct 2023 16:25:25 +0200 Received: from se-intmail02x.se.axis.com (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 3 Oct 2023 16:25:25 +0200 Received: from pc46047-2141.se.axis.com (pc46047-2141.se.axis.com [10.88.90.3]) by se-intmail02x.se.axis.com (Postfix) with ESMTP id 752682B8E; Tue, 3 Oct 2023 16:25:25 +0200 (CEST) Received: by pc46047-2141.se.axis.com (Postfix, from userid 10867) id 71B7647A708D; Tue, 3 Oct 2023 16:25:25 +0200 (CEST) From: Anton Eliasson Date: Tue, 3 Oct 2023 16:25:15 +0200 Subject: [PATCH 2/2] scripts: coccicheck: Separate spatch stdout and stderr MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20231003-coccicheck-v1-2-07d2d900a52a@axis.com> References: <20231003-coccicheck-v1-0-07d2d900a52a@axis.com> In-Reply-To: <20231003-coccicheck-v1-0-07d2d900a52a@axis.com> To: Julia Lawall , Nicolas Palix CC: , , Anton Eliasson , X-Mailer: b4 0.12.3 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM3PEPF00009BA1:EE_|DB9PR02MB6618:EE_ X-MS-Office365-Filtering-Correlation-Id: 5afa44d5-5b73-4d3b-a640-08dbc41c9628 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eetiQ5IzrZLURNzSo5G0Kr2iX5+G263rUnTCLldQCaNRLUovi19I9yK5TI8D3/xd3r8uev6bQHEwvbDEfOpDXBYDvheLvSx2pWAM3PTX0TaxheuwYUUIRBWX9mweKsCkO1BBEpUcaiJLc5dPiJ+m+9B7NB/xgpjcmQfY0lDRuPl9ch8ywAAD59Sf0gfvUSxEAU2sMQMF0fK9PyZ6oL9vZ8Hdk0Eq+3vZ4H46fab7ggKF4/trH1Qj2Kc9a49F56FtqlGpQcU8AcDnMlD6iHLtdktH3Nzjk6ShqkajvZHWRGjsyb8TqY2eaMtAXNpCxGtW4WnuLJB93HlCVBACobIzR0xsUQdgHxJxY4LC0GMvB31pE/dRu7LbVIkc95TKyB3JrOhNyifJPs1wSLhbDBOr22XQFqkn3ltoGxOxVmb0C4eJDYnVJFRAywthiLM20JRDmt85hogQnoWxJZx+rehAWXPCSUH2IdFogFn/8eMCp/9UjiPKU5keCoE/qcEOY6JvBn6lvVbZ2e0TpQJc5EIgmHcqCfmp6KOaeOoklGjh8Rle2aREffMPtS1PlpnIMth6M182SIsbAAKsOfcB3RpAsftIDf/Sffri4TGDS5eapPZBOOvFUaEQ+j9uJeOwxyKRUwpG3EmIP9Uzw6GSL3dJS28g0JdKjn15FiYj2XcKo7KAuXuANY03mwCWNVdhTn6sc//oKbn8J9y/2+RQG89v4bYgJ+pMmkIy1NbDROassB33SCmm9L9cUhHsqFFfIzBuhqAPSpIowT6kAoNpVHytrQ== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(346002)(39860400002)(396003)(376002)(136003)(230922051799003)(64100799003)(186009)(82310400011)(451199024)(1800799009)(36840700001)(40470700004)(46966006)(36756003)(2906002)(86362001)(4744005)(82740400003)(40460700003)(6266002)(356005)(47076005)(40480700001)(83380400001)(6666004)(478600001)(81166007)(107886003)(41300700001)(8936002)(8676002)(2616005)(4326008)(5660300002)(426003)(44832011)(26005)(42186006)(54906003)(70586007)(336012)(110136005)(70206006)(316002)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 14:25:26.0119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5afa44d5-5b73-4d3b-a640-08dbc41c9628 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF00009BA1.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB6618 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This helps automating coccicheck runs by discarding stderr and only looking at the output of stdout. In report mode the only remaining output on stdout is the initial "Please check for false positives" message followed by each spatch warning found. Signed-off-by: Anton Eliasson --- scripts/coccicheck | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/coccicheck b/scripts/coccicheck index 95a312730e98..7e7c44125f47 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -146,8 +146,8 @@ run_cmd_parmap() { echo $@>>$DEBUG_FILE $@ 2>>$DEBUG_FILE else - echo $@ - $@ 2>&1 + echo $@ >&2 + $@ fi =20 err=3D$? --=20 2.30.2