Commit 0ede2745 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

get_maintainer: use a default "unknown" S: status/role

When an "S:" status line is unavailable, use a default "unknown" role.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b60f796c
...@@ -931,7 +931,7 @@ sub get_maintainer_role { ...@@ -931,7 +931,7 @@ sub get_maintainer_role {
my $start = find_starting_index($index); my $start = find_starting_index($index);
my $end = find_ending_index($index); my $end = find_ending_index($index);
my $role; my $role = "unknown";
my $subsystem = $typevalue[$start]; my $subsystem = $typevalue[$start];
if (length($subsystem) > 20) { if (length($subsystem) > 20) {
$subsystem = substr($subsystem, 0, 17); $subsystem = substr($subsystem, 0, 17);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment