Skip to content

Commit

Permalink
Fix Perl warnings in ras-mc-ctl
Browse files Browse the repository at this point in the history
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
  • Loading branch information
congwang authored and mchehab committed Jun 21, 2019
1 parent 89175a0 commit 31867c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/ras-mc-ctl.in
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,7 @@ sub summary
my ($query, $query_handle, $out);
my ($err_type, $label, $mc, $top, $mid, $low, $count, $msg);
my ($etype, $severity, $etype_string, $severity_string);
my $dev_name;

my $dbh = DBI->connect("dbi:SQLite:dbname=$dbname", "", "", {});

Expand Down Expand Up @@ -1216,6 +1217,7 @@ sub errors
my ($query, $query_handle, $id, $time, $count, $type, $msg, $label, $mc, $top, $mid, $low, $addr, $grain, $syndrome, $detail, $out);
my ($mcgcap,$mcgstatus, $status, $misc, $ip, $tsc, $walltime, $cpu, $cpuid, $apicid, $socketid, $cs, $bank, $cpuvendor, $bank_name, $mcgstatus_msg, $mcistatus_msg, $user_action, $mc_location);
my ($timestamp, $etype, $severity, $etype_string, $severity_string, $fru_id, $fru_text, $cper_data);
my ($bus_name, $dev_name, $driver_name, $reporter_name);

my $dbh = DBI->connect("dbi:SQLite:dbname=$dbname", "", "", {});

Expand Down

0 comments on commit 31867c5

Please sign in to comment.