]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sparc64: uprobes: add missing break
authorRosen Penev <rosenp@gmail.com>
Wed, 6 May 2026 03:18:15 +0000 (20:18 -0700)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 12 Jun 2026 11:51:18 +0000 (13:51 +0200)
commit5b0eee4cd812bd6547eea393cb9b5c0322f26c88
tree0df52c7aa0d34d8c42b6dda518cc3e26e8897560
parent3774fd535fc2e54cdc4e915050f787a8b0bc6f8c
sparc64: uprobes: add missing break

Missing fallthrough causes failure with newer compilers:

arch/sparc/kernel/uprobes.c:284:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
  284 |         default:
      |         ^
arch/sparc/kernel/uprobes.c:284:2: note: insert 'break;' to avoid fall-through
  284 |         default:
      |         ^
      |         break;

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/kernel/uprobes.c