* [PATCH] get_maintainer: Use a default "unknown" S: status/role
@ 2012-02-28 19:09 Joe Perches
0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2012-02-28 19:09 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML
When an "S:" status line is unavailable, use a default "unknown" role.
Signed-off-by: Joe Perches <joe@perches.com>
---
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 f32a04c..f5b1f3a 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-28 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 19:09 [PATCH] get_maintainer: Use a default "unknown" S: status/role Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).