A patch that starts with:
From: Jiri Olsa <jolsa@kernel.org>
Date: Sat, 13 Feb 2021 17:46:48 +0100
Subject: btf_encoder: Match ftrace addresses within ELF functions
is reported by file as:
unified diff output text, 1st line "From: Jiri Olsa <jolsa@kernel.org>", 2nd line "Date: Sat, 13 Feb 2021 17:46:48 +0100", 3rd line "Subject: btf_encoder: Match ftrace addresses within ELF functions", ASCII text
which satisifies the test:
if ($item->file_type =~ m{\bELF\b}x) {
in Lintian/Check/Files/SourceMissing.pm, resulting in a false
source-is-missing error (and a source-contains-prebuilt-binary
pedantic note, but I can quite happily ignore that).
Please use a stricter regex that will only match file output for ELF
binaries.
Ben.