diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-03-02 08:42:59 +1100 |
---|---|---|
committer | Tobin C. Harding <me@tobin.cc> | 2018-04-07 08:50:34 +1000 |
commit | 2306a67745ebdf3f98bc954248b74a3f1d57cdc2 (patch) | |
tree | 74e40740eb52d3dfc551f5b3f01e29dd6d360068 /lib/irq_regs.c | |
parent | 34827374492580b27c3cba29d493dab28c8c25d3 (diff) | |
download | talos-obmc-linux-2306a67745ebdf3f98bc954248b74a3f1d57cdc2.tar.gz talos-obmc-linux-2306a67745ebdf3f98bc954248b74a3f1d57cdc2.zip |
leaking_addresses: explicitly name variable used in regex
Currently sub routine may_leak_address() is checking regex against Perl
special variable $_ which is _fortunately_ being set correctly in a loop
before this sub routine is called. We already have declared a variable
to hold this value '$line' we should use it.
Use $line in regex match instead of implicit $_
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions