]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: unrel_branch_check.sh: convert grep | sed | awk to just sed
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Aug 2020 14:04:31 +0000 (00:04 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:22 +0000 (11:00 +1000)
commit907b92669b2d6d4092e84930b1e7c0b795a0a1c5
treea5be4e4422e4e2ee5e4bf1d4658083272bdbe823
parent970c6a10c4bdec6ca9d8614aab348dba98c98307
powerpc: unrel_branch_check.sh: convert grep | sed | awk to just sed

Also start using sed -E and make all the separate expressions into a
single one with comments.  Pull the stripping of condition registers
back into the sed command.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200811140435.20957-5-sfr@canb.auug.org.au
arch/powerpc/tools/unrel_branch_check.sh