Skip to content

Commit

Permalink
get_maintainer: use a default "unknown" S: status/role
Browse files Browse the repository at this point in the history
When an "S:" status line is unavailable, use a default "unknown" role.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoePerches authored and torvalds committed Mar 23, 2012
1 parent b60f796 commit 0ede274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_maintainer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ sub get_maintainer_role {
my $start = find_starting_index($index);
my $end = find_ending_index($index);

my $role;
my $role = "unknown";
my $subsystem = $typevalue[$start];
if (length($subsystem) > 20) {
$subsystem = substr($subsystem, 0, 17);
Expand Down

0 comments on commit 0ede274

Please sign in to comment.