mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
sparc64: Fix incorrect function signature and add prototype for prom_cif_init
[ Upstream commita6c3ea1ec9] Remove the unused cif_stack argument and add a protype in oplib_64.h Commitef3e035c3a("sparc64: Fix register corruption in top-most kernel stack frame during boot.") removed the cif_stack argument to prom_cif init in the declaration at the caller site and the usage of it within prom_cif_init, but not in the function signature of the function itself. This also fixes the following warning: arch/sparc/prom/p1275.c:52:6: warning: no previous prototype for ‘prom_cif_init’ Fixes:ef3e035c3a("sparc64: Fix register corruption in top-most kernel stack frame during boot.") Link: https://lore.kernel.org/r/20240710094155.458731-3-andreas@gaisler.com Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c3e33c899d
commit
de602aadfb
3 changed files with 2 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue