svn commit: r299133 - head/sys/dev/bhnd/siba
Adrian Chadd
adrian at FreeBSD.org
Thu May 5 19:54:18 UTC 2016
Author: adrian
Date: Thu May 5 19:54:17 2016
New Revision: 299133
URL: https://svnweb.freebsd.org/changeset/base/299133
Log:
[bhnd] handle unknown bhnd port type.
Modified:
head/sys/dev/bhnd/siba/siba_subr.c
Modified: head/sys/dev/bhnd/siba/siba_subr.c
==============================================================================
--- head/sys/dev/bhnd/siba/siba_subr.c Thu May 5 19:44:06 2016 (r299132)
+++ head/sys/dev/bhnd/siba/siba_subr.c Thu May 5 19:54:17 2016 (r299133)
@@ -187,6 +187,11 @@ siba_dinfo_get_port(struct siba_devinfo
return (NULL);
case BHND_PORT_AGENT:
return (NULL);
+ default:
+ printf("%s: unknown port_type (%d)\n",
+ __func__,
+ port_type);
+ return (NULL);
}
}
@@ -369,4 +374,4 @@ siba_parse_admatch(uint32_t am, uint32_t
}
return (0);
-}
\ No newline at end of file
+}
More information about the svn-src-all
mailing list