diff options
Diffstat (limited to 'util/amdtools/k8-interpret-extended-memory-settings.pl')
-rwxr-xr-x | util/amdtools/k8-interpret-extended-memory-settings.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/amdtools/k8-interpret-extended-memory-settings.pl b/util/amdtools/k8-interpret-extended-memory-settings.pl index 0bb4e62a44..3ecc2a53e0 100755 --- a/util/amdtools/k8-interpret-extended-memory-settings.pl +++ b/util/amdtools/k8-interpret-extended-memory-settings.pl @@ -63,7 +63,7 @@ sub parse_file { if ($tmp[1] eq '98.l') { $register = ($tmp[2] =~ /(..)$/)[0]; # last 2 digits are (hex) of what we wrote to the register, if second field is 98.l $devreg = "$device $register"; - if ("$binrep" =~ /^1/) { + if ("$binrep" =~ /^1/) { # bit 31 *must* be 1 if readout is to be correct print "$tmp[0] - $register<br>\n" if ($DEBUG); } else { @@ -77,7 +77,7 @@ sub parse_file { $data{$devreg}{$filename} = $packed; } } - return %data; + return %data; } sub interpret_differences { |