diff options
author | Julien Thierry <jthierry@redhat.com> | 2020-03-27 15:28:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-22 09:32:17 +0200 |
commit | a9735d6eb042d800ec8c2461aa7fbe92b8020e1c (patch) | |
tree | 40c0f229bb96de36b930046e679f83dcf00f517c /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 24192a36eb06c98bcad1d556a91b87c75799ac17 (diff) |
objtool: Ignore empty alternatives
[ Upstream commit 7170cf47d16f1ba29eca07fd818870b7af0a93a5 ]
The .alternatives section can contain entries with no original
instructions. Objtool will currently crash when handling such an entry.
Just skip that entry, but still give a warning to discourage useless
entries.
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions