Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'docs-fixes' into docs-mw

Bring the checkpatch Assisted-by fix into docs-next as well.

+11 -1
+11 -1
scripts/checkpatch.pl
··· 641 641 Reviewed-by:| 642 642 Reported-by:| 643 643 Suggested-by:| 644 + Assisted-by:| 644 645 To:| 645 646 Cc: 646 647 )}; ··· 738 737 my ($sign_off) = @_; 739 738 my @standard_signature_tags = ( 740 739 'Signed-off-by:', 'Co-developed-by:', 'Acked-by:', 'Tested-by:', 741 - 'Reviewed-by:', 'Reported-by:', 'Suggested-by:' 740 + 'Reviewed-by:', 'Reported-by:', 'Suggested-by:', 'Assisted-by:' 742 741 ); 743 742 foreach my $signature (@standard_signature_tags) { 744 743 return $signature if (get_edit_distance($sign_off, $signature) <= 2); ··· 3104 3103 $fixed[$fixlinenr] = 3105 3104 "$ucfirst_sign_off $email"; 3106 3105 } 3106 + } 3107 + 3108 + # Assisted-by: uses format AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2] instead of email 3109 + if ($sign_off =~ /^assisted-by:$/i) { 3110 + if ($email !~ /^[^:]+:\S+(\s+\S+)*$/) { 3111 + WARN("BAD_ASSISTED_BY", 3112 + "Assisted-by: should use format: 'Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]'\n" . $herecurr); 3113 + } 3114 + next; 3107 3115 } 3108 3116 3109 3117 my ($email_name, $name_comment, $email_address, $comment) = parse_email($email);