Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20495194rwd; Thu, 29 Jun 2023 03:08:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dk2c4GtZeykX6Z4Qu9rR+vPOlkPSAoDNHU0rttcjjge9tVsmWGhYqnGoR4OdcsQa8lHwM X-Received: by 2002:a05:6a00:1483:b0:65d:d5cd:6f17 with SMTP id v3-20020a056a00148300b0065dd5cd6f17mr39370912pfu.24.1688033331558; Thu, 29 Jun 2023 03:08:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688033331; cv=none; d=google.com; s=arc-20160816; b=OBOlsfGDYyNM49dppDP8meM4ls6sSC66/2LRCZl40Q7T9DhPJ1H9SvG8PUszth7Ix9 O5+nz/Lb1y0MBooUvgzt6cRZm1z0+D0PG7TEWewChHVgHeVgNeZBza05rkOIvxzV8Gvv fEoffhR5wzka71xldgUz0xBglssmJ7jBbZkjMnzR9NYtRaIzGJAz/iJRJfnzeZdSmdoi LcxqORjVSypwsjw8r3JuCd0kchpxgIpbdc6HLXua/pkXPMdxXOux6nwiXxmLFwuMa9Au bfqgKrosHVykrw6F1rN6MmQD80ibW0T4jZw87X65IGcdZG5V+fj2IilkayU3ojSM094A 9GkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:organization:message-id:date :subject:cc:to:from; bh=TM5BrcwnlqM6f222+4Nl6bXwF/aKnncRMLXA0iAwPys=; fh=Z/Ej5y6jV8H1h9QvweZ2G8TJmKG8He91YI/G8s84j3A=; b=SZteCihpwBzhBOxTnDPVSaKnaJOH1y3q2Vl6OsWumwF+jAGaq5m6Lzpo7vQTRnKYGy 1giEresU0oJE4vjhhYnK5Wxf7qDKO3y+ZJtIB7Q1IjReqE8kD3T53AGHLXPyOuH46R5j ZuxbmzszmsyDJBPjvN/J5vfD7fyhiSTXZAKInFlPS93gerVlVihMC+f1DA2rN6tOrImo VO2ZT18GfvJ9XjRIDBFMh5vEBCkZb8rzsT5C0/rRhdG2TpUvo+Dm1aFDxD4EAFhoaM55 U6ML1zlSOXp/5KB+LJ6RZTC16/zDXvSy4roTB0JNrEHu+//Neww4faKXnTOoIpQwuTHH dD/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb25-20020a056a004c9900b0067e69fcebb9si3881207pfb.86.2023.06.29.03.08.37; Thu, 29 Jun 2023 03:08:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231910AbjF2KBo (ORCPT + 99 others); Thu, 29 Jun 2023 06:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232102AbjF2J7k (ORCPT ); Thu, 29 Jun 2023 05:59:40 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C50730EC for ; Thu, 29 Jun 2023 02:58:03 -0700 (PDT) X-GND-Sasl: didi.debian@cknow.org X-GND-Sasl: didi.debian@cknow.org X-GND-Sasl: didi.debian@cknow.org X-GND-Sasl: didi.debian@cknow.org X-GND-Sasl: didi.debian@cknow.org X-GND-Sasl: didi.debian@cknow.org Received: by mail.gandi.net (Postfix) with ESMTPSA id B380EFF80B; Thu, 29 Jun 2023 09:57:59 +0000 (UTC) From: Diederik de Haas To: Andy Whitcroft , Joe Perches Cc: Dwaipayan Ray , Lukas Bulwahn , linux-kernel@vger.kernel.org, Diederik de Haas Subject: checkpatch: diff: LICENSES/null: No such file or directory Date: Thu, 29 Jun 2023 11:57:49 +0200 Message-ID: <8238840.T7Z3S40VBb@bagend> Organization: Connecting Knowledge MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10297417.nUPlyArG6x"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart10297417.nUPlyArG6x Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Diederik de Haas To: Andy Whitcroft , Joe Perches Subject: checkpatch: diff: LICENSES/null: No such file or directory Date: Thu, 29 Jun 2023 11:57:49 +0200 Message-ID: <8238840.T7Z3S40VBb@bagend> Organization: Connecting Knowledge MIME-Version: 1.0 Hi, The checkpatch.pl scripts has been a great help in improving the (very bad) quality of some code I'm helping with, so thanks for that :-) But it looks like I found a bug after I added a LICENSES dir and a GPL-2.0-only license using the `reuse` tool. When I run this command: ~/dev/kernel.org/linux/scripts/checkpatch.pl --no-tree --file --terse * in my working tree, I get "diff: LICENSES/null: No such file or directory" after which it stops processing the rest of the files. To reproduce: 1) git clone https://git.sr.ht/~diederik/bes2600 -b improve-code-formatting 2) cd bes2600 3) ~/dev/kernel.org/linux/scripts/checkpatch.pl --no-tree --file --terse * If you then do `git reset HEAD~2 --hard` and run `checkpatch.pl` again, it'll finish to completion. I just did a similar test inside the kernel tree, and got a similar error: - `scripts/checkpatch.pl --file --terse *` - result: `diff: arch/null: No such file or directory` As my LICENSES dir was my first subdirectory, it appears the issue is with subdirectories in general? Cheers, Diederik --nextPart10297417.nUPlyArG6x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHQEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZJ1VnQAKCRDXblvOeH7b bp4yAP4vpUHyOjuVAZxIEAYjw8prdos7AbX0C5q+/dmwpE3kDQD45vnvnw7P7VzZ IM+eUvaEIL8WgcFLXj+8fb+AQzSwBw== =RGhl -----END PGP SIGNATURE----- --nextPart10297417.nUPlyArG6x--