mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-10-04 09:55:31 +10:00
s390: Fix fall-through warnings for Clang
Fix the following fallthrough warnings: drivers/s390/net/ctcm_fsms.c:1457:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] drivers/s390/net/qeth_l3_main.c:437:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] drivers/s390/char/tape_char.c:374:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] arch/s390/kernel/uprobes.c:129:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
This commit is contained in:
parent
41614014a7
commit
d4e81342ea
@ -126,6 +126,7 @@ int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val,
|
|||||||
case DIE_SSTEP:
|
case DIE_SSTEP:
|
||||||
if (uprobe_post_sstep_notifier(regs))
|
if (uprobe_post_sstep_notifier(regs))
|
||||||
return NOTIFY_STOP;
|
return NOTIFY_STOP;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -371,8 +371,6 @@ __tapechar_ioctl(struct tape_device *device,
|
|||||||
case MTSEEK:
|
case MTSEEK:
|
||||||
if (device->required_tapemarks)
|
if (device->required_tapemarks)
|
||||||
tape_std_terminate_write(device);
|
tape_std_terminate_write(device);
|
||||||
default:
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
rc = tape_mtop(device, op.mt_op, op.mt_count);
|
rc = tape_mtop(device, op.mt_op, op.mt_count);
|
||||||
|
|
||||||
|
@ -1454,6 +1454,7 @@ again:
|
|||||||
get_ccwdev_lock(ch->cdev), saveflags);
|
get_ccwdev_lock(ch->cdev), saveflags);
|
||||||
if (rc != 0)
|
if (rc != 0)
|
||||||
ctcm_ccw_check_rc(ch, rc, "normal RX");
|
ctcm_ccw_check_rc(ch, rc, "normal RX");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -434,6 +434,7 @@ static int qeth_l3_correct_routing_type(struct qeth_card *card,
|
|||||||
if (qeth_is_ipafunc_supported(card, prot,
|
if (qeth_is_ipafunc_supported(card, prot,
|
||||||
IPA_OSA_MC_ROUTER))
|
IPA_OSA_MC_ROUTER))
|
||||||
return 0;
|
return 0;
|
||||||
|
goto out_inval;
|
||||||
default:
|
default:
|
||||||
goto out_inval;
|
goto out_inval;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user