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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 24 Aug 2020 17:04:31 -0700
From:   Joe Perches <>
To:     Andrew Morton <>
Cc:     LKML <>
Subject: [PATCH] get_maintainer: Add test for file in VCS

It's somewhat common for me to ask get_maintainer
to tell me who
maintains a patch file rather than
the files modified by the patch.

Emit a warning if using -f <patchfile>

Signed-off-by: Joe Perches <>
 scripts/ | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/ b/scripts/
index 484d2fbf5921..5a36354a38cc 100755
--- a/scripts/
+++ b/scripts/
@@ -541,6 +541,9 @@ foreach my $file (@ARGV) {
 	    die "$P: file '${file}' not found\n";
+    if ($from_filename && (vcs_exists() && !vcs_file_exists($file))) {
+	warn "$P: file '$file' not found in version control $!\n";
+    }
     if ($from_filename || ($file ne "&STDIN" && vcs_file_exists($file))) {
 	$file =~ s/^\Q${cur_path}\E//;	#strip any absolute path
 	$file =~ s/^\Q${lk_path}\E//;	#or the path to the lk tree

Powered by blists - more mailing lists