summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-11-05 16:56:23 +0100
committerTakashi Iwai <tiwai@suse.de>2026-11-05 16:56:23 +0100
commit22733b6e2e1ebf75228a1e15b9fb9760a86137cc (patch)
treec7388fd1cb44ed49347418ae058ead753d2c473b /scripts/checkstack.pl
parentd54c3cc224dab59cb6b4db43cceaf84a4b39c87a (diff)
parentcf09d02dc0c49593fdd9e0ec2f17251cba39a94e (diff)
Merge tag 'asoc-fix-v7.4-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v7.4 More fixes that have come in since -rc1, a lot of this is quirks but there's some bug fixes as well. The bug fixes should mostly be those that seem to be affecting actual users rather than just being pure static analysis work. I also took some fixes for missing Kconfig dependencies which won't have any runtime impact.
Diffstat (limited to 'scripts/checkstack.pl')
-rwxr-xr-xscripts/checkstack.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 14ce31f732ee..f8011e789a9b 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -66,8 +66,10 @@ my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
#c0105234: 81 ec ac 05 00 00 sub $0x5ac,%esp
# or
# 2f60: 48 81 ec e8 05 00 00 sub $0x5e8,%rsp
- $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o;
- $dre = qr/^.*[as][du][db] (%.*),\%(e|r)sp$/o;
+ # or
+ # 0: 48 81 ec e8 05 00 00 subq $0x5e8, %rsp
+ $re = qr/^.*[as][du][db][ql]?\s+\$(0x$x{1,8}),\s*\%(e|r)sp/o;
+ $dre = qr/^.*[as][du][db][ql]?\s+(%.*),\s*\%(e|r)sp/o;
} elsif ($arch eq 'm68k') {
# 2b6c: 4e56 fb70 linkw %fp,#-1168
# 1df770: defc ffe4 addaw #-28,%sp