diff options
| author | John Sperbeck <jsperbeck@google.com> | 2023-10-28 18:41:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-02 09:35:33 +0100 |
| commit | 5926b0886d0cb94a90a42712b2608d1c25ff6e84 (patch) | |
| tree | e7031928d950358b38526c12588a7b0be897263f /Makefile | |
| parent | 2afa9f7eb15c6936e8795fd450d7ba5a4b799bdc (diff) | |
| download | linux-5926b0886d0cb94a90a42712b2608d1c25ff6e84.tar.gz linux-5926b0886d0cb94a90a42712b2608d1c25ff6e84.tar.bz2 linux-5926b0886d0cb94a90a42712b2608d1c25ff6e84.zip | |
objtool/x86: add missing embedded_insn check
When dbf460087755 ("objtool/x86: Fixup frame-pointer vs rethunk")
was backported to some stable branches, the check for dest->embedded_insn
in is_special_call() was missed. The result is that the warning it
was intended to suppress still appears. For example on 6.1 (on kernels
before 6.1, the '-s' argument would instead be 'check'):
$ tools/objtool/objtool -s arch/x86/lib/retpoline.o
arch/x86/lib/retpoline.o: warning: objtool: srso_untrain_ret+0xd:
call without frame pointer save/setup
With this patch, the warning is correctly suppressed, and the
kernel still passes the normal Google kernel developer tests.
Signed-off-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
