diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-07-11 20:52:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-12 11:05:41 -0700 |
commit | 31013836a71e07751a6827f9d2ad41ef502ddaff (patch) | |
tree | ad720224ae920b6347465f1611978409dc766fdc /drivers/edac | |
parent | a760f8a67cb38d19fd52f2a28c65c967e469367e (diff) | |
download | blackbird-op-linux-31013836a71e07751a6827f9d2ad41ef502ddaff.tar.gz blackbird-op-linux-31013836a71e07751a6827f9d2ad41ef502ddaff.zip |
scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
The basepath may contain special characters, which would confuse the regex
matcher. ${var#prefix} does the right thing.
Link: http://lkml.kernel.org/r/20190518055946.181563-1-drinkcat@chromium.org
Fixes: 67a28de47faa8358 ("scripts/decode_stacktrace: only strip base path when a prefix of the path")
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions