scripts: get_abi.pl: Fix get_abi.pl search output
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 23 Sep 2021 15:41:12 +0000 (17:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Sep 2021 16:45:08 +0000 (18:45 +0200)
Currently, the get_abi.pl will print an invalid symbol
(\xac character). Fix it.

Fixes: ab9c14805b37 ("scripts: get_abi.pl: Better handle multiple What parameters")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/fb27ac372e38f5ae9d088f9f4e9710c659e0b9e8.1632411447.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/get_abi.pl

index c52a1cf..65261f4 100755 (executable)
@@ -501,6 +501,7 @@ sub search_symbols {
 
                my $file = $data{$what}->{filepath};
 
+               $what =~ s/\xac/, /g;
                my $bar = $what;
                $bar =~ s/./-/g;