diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-05 10:03:27 -0600 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-03-05 10:03:27 -0600 |
commit | 3422e04a2e31dba3e17af206f160d4fc409f4250 (patch) | |
tree | ef03b0b60e236af96331d0ddb83208bb40bcf9f0 /scripts/configdiff.pl | |
parent | 7a64d107da5cd0ea8bad9200ebcd37146324361f (diff) | |
download | kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.gz kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.tar.xz kernel-3422e04a2e31dba3e17af206f160d4fc409f4250.zip |
kernel-5.11.3-50
* Fri Mar 05 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.11.3-50]
- PCI: Add MCFG quirks for Tegra194 host controllers (Vidya Sagar)
- Revert "PCI: Add MCFG quirks for Tegra194 host controllers" (Peter Robinson)
- forgot to push this one earlier (Justin M. Forbes)
- Reference the patch as version.patchlevel to more easily see diffs between stable releases (Justin M. Forbes)
Resolves: rhbz#
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'scripts/configdiff.pl')
-rw-r--r-- | scripts/configdiff.pl | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/scripts/configdiff.pl b/scripts/configdiff.pl deleted file mode 100644 index 848d8df0f..000000000 --- a/scripts/configdiff.pl +++ /dev/null @@ -1,76 +0,0 @@ -#! /usr/bin/perl - -my @args=@ARGV; -my @configoptions; -my @configvalues; -my @alreadyprinted; -my $configcounter = 0; - -# first, read the override file - -open (FILE,"$args[0]") || die "Could not open $args[0]"; -while (<FILE>) { - my $str = $_; - if (/\# ([\w]+) is not set/) { - $configoptions[$configcounter] = $1; - $configvalues[$configcounter] = $str; - $alreadprinted[$configcounter] = 0; - $configcounter ++; - } else { - if (/([\w]+)=/) { - $configoptions[$configcounter] = $1; - $configvalues[$configcounter] = $str; - $alreadprinted[$configcounter] = 0; - $configcounter ++; - } else { - $configoptions[$configcounter] = "$_"; - $configvalues[$configcounter] = $str; - $alreadprinted[$configcounter] = 0; - $configcounter ++; - } - } -}; - -# now, read and output the entire configfile, except for the overridden -# parts... for those the new value is printed. -# O(N^2) algorithm so if this is slow I need to look at it later - -open (FILE2,"$args[1]") || die "Could not open $args[1]"; -while (<FILE2>) { - my $nooutput; - my $counter; - my $configname="$_"; - my $match; - - if (/\# ([\w]+) is not set/) { - $configname = $1; - } else { - if (/([\w]+)=/) { - $configname = $1; - } - } - - $counter = 0; - $nooutput = 0; - $match = 0; -# print "C : $configname"; - while ($counter < $configcounter) { - if ("$configname" eq "$configoptions[$counter]") { - if ( ("$_" eq "$configvalues[$counter]") || ("$configname" eq "") ) { - $match = 1; - } else { - $alreadyprinted[$configcounter] = 1; - print "$_"; - $match = 1; - } - } - $counter++; - } - if ($match == 0) { - print "$_"; - } - -} - - -1; |