diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-12 08:55:21 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2019-08-12 18:52:36 +0200 |
commit | 782d7a217eb63353dbfd81fb88b24e600bc6bd9c (patch) | |
tree | 1975b545196f29ae5033f8b0065b209ec74d7333 /arch/ia64 | |
parent | ia64:unwind: fix double free for mod->arch.init_unw_table (diff) | |
download | linux-782d7a217eb63353dbfd81fb88b24e600bc6bd9c.tar.xz linux-782d7a217eb63353dbfd81fb88b24e600bc6bd9c.zip |
ia64: annotate a switch fallthrough in ia64_do_signal
Also reindent the switch statement to use the normal kernel style
while at it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20190812065524.19959-2-hch@lst.de
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/signal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c index e5044aed9452..d07ed65c9c6e 100644 --- a/arch/ia64/kernel/signal.c +++ b/arch/ia64/kernel/signal.c @@ -363,19 +363,19 @@ ia64_do_signal (struct sigscratch *scr, long in_syscall) if (unlikely(restart)) { switch (errno) { - case ERESTART_RESTARTBLOCK: - case ERESTARTNOHAND: + case ERESTART_RESTARTBLOCK: + case ERESTARTNOHAND: scr->pt.r8 = EINTR; /* note: scr->pt.r10 is already -1 */ break; - - case ERESTARTSYS: + case ERESTARTSYS: if ((ksig.ka.sa.sa_flags & SA_RESTART) == 0) { scr->pt.r8 = EINTR; /* note: scr->pt.r10 is already -1 */ break; } - case ERESTARTNOINTR: + /*FALLTHRU*/ + case ERESTARTNOINTR: ia64_decrement_ip(&scr->pt); restart = 0; /* don't restart twice if handle_signal() fails... */ } |