summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-08-20 22:16:38 +0300
committerToomas Soome <tsoome@me.com>2019-09-20 22:30:58 +0300
commitc79df70e7f04e3742087189b820b431059193dfe (patch)
tree497e4d048eb51db0de95a2ca26f4820f43b6b7e9
parentc8caaf7af609cac86df1d624c8b8fdf0edbb3c7f (diff)
downloadillumos-joyent-c79df70e7f04e3742087189b820b431059193dfe.tar.gz
11588 loader: isapnp.c: this statement may fall through
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r--usr/src/boot/sys/boot/common/isapnp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/boot/sys/boot/common/isapnp.c b/usr/src/boot/sys/boot/common/isapnp.c
index a8efb28c7e..25a421d053 100644
--- a/usr/src/boot/sys/boot/common/isapnp.c
+++ b/usr/src/boot/sys/boot/common/isapnp.c
@@ -1,4 +1,4 @@
-/*-
+/*
* Copyright (c) 1998, Michael Smith
* Copyright (c) 1996, Sujal M. Patel
* All rights reserved.
@@ -26,7 +26,6 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
/*
* Machine-independant ISA PnP enumerator implementing a subset of the
@@ -175,10 +174,10 @@ isapnp_scan_resdata(struct pnpinfo *pi)
if (isapnp_get_resource_info(resinfo, PNP_SRES_LEN(tag)))
return(1);
pnp_addident(pi, pnp_eisaformat(resinfo));
+ return(0);
case END_TAG:
return(0);
- break;
default:
/* Skip this resource */