diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-12-19 20:49:59 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 12:22:27 -0800 |
commit | 66d25cbe29f307c0a3c53b1b1efd0f597d0756a1 (patch) | |
tree | c370e4ed33fc0911f97eeb767ed848bf60e26a27 /scripts/dtc/dtc.c | |
parent | 52f5628819363cd16efd2b9f35706b33f41842b3 (diff) |
scripts/checkstack.pl: match all stack sizes for some archs
For some unknown reason the regular expression for checkstack only matches
three digit numbers starting with the number "3", or any higher number.
Which means that it skips any stack sizes smaller than 304 bytes. This
makes the checkstack script a bit less useful than it could be.
Change the script to match any number. To be filtered out stack sizes can
be configured with the min_stack variable, which omits any stack frame
sizes smaller than 100 bytes by default.
This is similar with commit aab1f809d754 ("scripts/checkstack.pl: match
all stack sizes for s390").
Link: https://lkml.kernel.org/r/20231219125008.23007-4-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/dtc/dtc.c')
0 files changed, 0 insertions, 0 deletions