From f6e8b800be5d8656aa2b10827cf7ea93cfcf5048 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 3 Jun 2016 18:09:54 +0100 Subject: [PATCH] [build] Remove nested "my" declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix build error with perl >= 5.23.2: Can't redeclare "my" in "my" at ./util/parserom.pl line 160 Signed-off-by: Vinson Lee Reviewed-by: Robin Smidsrød Signed-off-by: Michael Brown --- src/util/parserom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/parserom.pl b/src/util/parserom.pl index 28df6065..5a849a54 100755 --- a/src/util/parserom.pl +++ b/src/util/parserom.pl @@ -157,7 +157,7 @@ sub process_isa_rom { # Output Makefile rules for the specified ROM declarations sub print_make_rules { - my ( $state, my $image, my $desc, my $vendor, my $device, my $dup ) = @_; + my ( $state, $image, $desc, $vendor, $device, $dup ) = @_; unless ( $state->{'is_header_printed'} ) { print "# NIC\t\n"; print "# NIC\tfamily\t$state->{family}\n";