Skip to content

sh64: kernel: fix the compiling issue for process_64.c

Chen Gang linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sh64: kernel: use 'usp' instead of 'fn'arch/sh/kernel/process_64.c+1 -10 replies
2/2sh64: kernel: remove useless variable 'regs'arch/sh/kernel/process_64.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] sh64: kernel: fix the compiling issue for process_64.c

The related 2 patches are for fixing the issue below:

The related errors:

CC arch/sh/kernel/process_64.o
arch/sh/kernel/process_64.c: In function ‘copy_thread’:
arch/sh/kernel/process_64.c:396:39: error: ‘fn’ undeclared (first use in this function) arch/sh/kernel/process_64.c:396:39: note: each undeclared identifier is reported only once for each function it appears in arch/sh/kernel/process_64.c:377:30: error: unused variable ‘regs’ [-Werror=unused-variable]
cc1: all warnings being treated as errors

--

 arch/sh/kernel/process_64.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)