An in-body From: denotes the author when the sender is different.
Signed-off-by: Akihiko Odaki <[email protected]>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 82f62f602125..2904bd691dc5 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1823,7 +1823,7 @@ sub process {
}
# Extract author email for trailer checks
- if ($in_header_lines && $line =~ /^(?:Author|From):\s*(.*)/) {
+ if ($line =~ /^(?:Author|From):\s*(.*)/) {
my $author_info = $1;
if ($author_info =~ /<([^>]+)>/) {
$author_email = $1;
---
base-commit: 74f7bf4c59e6b6d50dbc6e124d93440be8be4386
change-id: 20261109-from-5be249dd4996
Best regards,
--
Akihiko Odaki <[email protected]>