summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-07-01 23:30:17 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2018-04-23 18:15:40 +0200
commit73ebdb1f098bc5f3e6301b6aeab3becf12bc844e (patch)
treefa76f0387cef4ec5d206c88646807de792c65c92
parent45137058c754e4417a4b9610ef655bc26b175a31 (diff)
downloadillumos-joyent-73ebdb1f098bc5f3e6301b6aeab3becf12bc844e.tar.gz
9227 ipd: this statement may fall through
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/uts/common/inet/ipd/ipd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/ipd/ipd.c b/usr/src/uts/common/inet/ipd/ipd.c
index 5029a5bb10..553c215984 100644
--- a/usr/src/uts/common/inet/ipd/ipd.c
+++ b/usr/src/uts/common/inet/ipd/ipd.c
@@ -1091,6 +1091,7 @@ ipd_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result)
case DDI_INFO_DEVT2INSTANCE:
*result = (void *)(uintptr_t)getminor((dev_t)arg);
error = DDI_SUCCESS;
+ break;
default:
error = DDI_FAILURE;
break;