forked from pool/kernel-source
Accepting request 33455 from Kernel:HEAD
Copy from Kernel:HEAD/kernel-source based on submit request 33455 from user michal-m OBS-URL: https://build.opensuse.org/request/show/33455 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-source?expand=0&rev=86
This commit is contained in:
committed by
Git OBS Bridge
parent
faa78a441c
commit
823a5532c2
3
kabi.pl
3
kabi.pl
@@ -7,6 +7,7 @@ use Data::Dumper;
|
||||
|
||||
# ( { sym => regexp, mod => regexp, fail => 0/1 }, ... )
|
||||
my @rules;
|
||||
my ($opt_verbose, $opt_rules);
|
||||
|
||||
sub load_rules {
|
||||
my $file = shift;
|
||||
@@ -82,6 +83,7 @@ sub kabi_change {
|
||||
last;
|
||||
}
|
||||
}
|
||||
return unless $fail or $opt_verbose;
|
||||
print STDERR "KABI: symbol $sym($mod) ";
|
||||
if ($newcrc) {
|
||||
print STDERR "changed crc from $oldcrc to $newcrc"
|
||||
@@ -100,7 +102,6 @@ sub xopen {
|
||||
open($_[0], $_[1], @_[2..$#_]) or die "$_[2]: $!\n";
|
||||
}
|
||||
|
||||
my ($opt_verbose, $opt_rules);
|
||||
my $res = GetOptions(
|
||||
'verbose|v' => \$opt_verbose,
|
||||
'rules|r=s' => \$opt_rules,
|
||||
|
Reference in New Issue
Block a user