diff options
| author | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
| commit | 788768547b3857c4a91dd4dfdf8fc4ffe855cddc (patch) | |
| tree | 05c0bb3274b13ebb5db25e521a19b68688a65067 /sys/compat/linux | |
| parent | 347959000863b79ceb826308162ed125f4a420ac (diff) | |
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
Diffstat (limited to 'sys/compat/linux')
| -rw-r--r-- | sys/compat/linux/common/linux_hdio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_hdio.c b/sys/compat/linux/common/linux_hdio.c index 29ceb30f95c..79300d3ebd0 100644 --- a/sys/compat/linux/common/linux_hdio.c +++ b/sys/compat/linux/common/linux_hdio.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_hdio.c,v 1.17 2015/12/08 20:36:14 christos Exp $ */ +/* $NetBSD: linux_hdio.c,v 1.18 2019/02/03 03:19:26 mrg Exp $ */ /* * Copyright (c) 2000 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_hdio.c,v 1.17 2015/12/08 20:36:14 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_hdio.c,v 1.18 2019/02/03 03:19:26 mrg Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -123,6 +123,7 @@ linux_ioctl_hdio(struct lwp *l, const struct linux_sys_ioctl_args *uap, error = linux_machdepioctl(l, uap, retval); if (error == 0) break; + /* FALLTHROUGH */ case LINUX_HDIO_GETGEO_BIG_RAW: error = ioctlf(fp, DIOCGDINFO, &label); error1 = ioctlf(fp, DIOCGPARTINFO, &pi); |
