diff options
author | Joe Perches <joe@perches.com> | 2012-03-23 18:01:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 19:58:32 -0400 |
commit | 0ede27450716dda82474023d6726ab50f2751adb (patch) | |
tree | d0e4699c545ce6322edb01532846ef65fc48724e /scripts | |
parent | b60f796c4ca72545327a069f12938360d833cce7 (diff) |
get_maintainer: use a default "unknown" S: status/role
When an "S:" status line is unavailable, use a default "unknown" role.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/get_maintainer.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index f32a04c4c5bc..f5b1f3aa5bd2 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl | |||
@@ -931,7 +931,7 @@ sub get_maintainer_role { | |||
931 | my $start = find_starting_index($index); | 931 | my $start = find_starting_index($index); |
932 | my $end = find_ending_index($index); | 932 | my $end = find_ending_index($index); |
933 | 933 | ||
934 | my $role; | 934 | my $role = "unknown"; |
935 | my $subsystem = $typevalue[$start]; | 935 | my $subsystem = $typevalue[$start]; |
936 | if (length($subsystem) > 20) { | 936 | if (length($subsystem) > 20) { |
937 | $subsystem = substr($subsystem, 0, 17); | 937 | $subsystem = substr($subsystem, 0, 17); |