diff options
author | Toomas Soome <tsoome@me.com> | 2018-03-10 22:15:40 -0800 |
---|---|---|
committer | Joshua M. Clulow <josh@sysmgr.org> | 2018-03-10 22:15:40 -0800 |
commit | eea675a170a637d45397e62f4efc44be56b572a3 (patch) | |
tree | 494e7e3a42c3c10660dc8acd2615384fa96c2162 /usr/src | |
parent | 66d7818b6a24876c96bdd1a81986c017f368decd (diff) | |
download | illumos-gate-eea675a170a637d45397e62f4efc44be56b572a3.tar.gz |
9226 fd: this statement may fall through
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Joshua M. Clulow <josh@sysmgr.org>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/fd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/fd.c b/usr/src/uts/common/io/fd.c index 76d123f969..fadd776414 100644 --- a/usr/src/uts/common/io/fd.c +++ b/usr/src/uts/common/io/fd.c @@ -305,6 +305,7 @@ fd_probe(dev_info_t *dip) * So fall through */ #endif /* CMOS_CONF_MEM */ + /* FALLTHROUGH */ default: /* need to check conf file */ len = sizeof (density); if (ddi_prop_op(DDI_DEV_T_ANY, dip, PROP_LEN_AND_VAL_BUF, @@ -381,6 +382,7 @@ fd_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) * So fall through */ #endif /* CMOS_CONF_MEM */ + /* FALLTHROUGH */ default: /* need to check .conf file */ drive_type = 0; len = sizeof (density); @@ -1269,7 +1271,7 @@ fdstart(struct fcu_obj *fjp) /* ARGSUSED */ static int fd_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_t *cred_p, - int *rval_p) + int *rval_p) { union { struct dk_cinfo dki; |