lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8238840.T7Z3S40VBb@bagend>
Date:   Thu, 29 Jun 2023 11:57:49 +0200
From:   Diederik de Haas <didi.debian@...ow.org>
To:     Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>
Cc:     Dwaipayan Ray <dwaipayanray1@...il.com>,
        Lukas Bulwahn <lukas.bulwahn@...il.com>,
        linux-kernel@...r.kernel.org,
        Diederik de Haas <didi.debian@...ow.org>
Subject: checkpatch: diff: LICENSES/null: No such file or directory

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
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ