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 +} _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"