mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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>
This commit is contained in:
parent
b60f796c4c
commit
0ede274507
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user