From b01f61207a7838e23d83e03418d45f45d0374dcd Mon Sep 17 00:00:00 2001 From: emaste Date: Thu, 5 May 2016 17:47:03 +0000 Subject: [PATCH] bhnd: another build fix for GCC-using architectures Further to r299119. GCC architectures failed with bcma_subr.c:138: warning: control reaches end of non-void function Sponsored by: The FreeBSD Foundation --- sys/dev/bhnd/bcma/bcma_subr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/bhnd/bcma/bcma_subr.c b/sys/dev/bhnd/bcma/bcma_subr.c index 53d75644464f..c493f9ce16d5 100644 --- a/sys/dev/bhnd/bcma/bcma_subr.c +++ b/sys/dev/bhnd/bcma/bcma_subr.c @@ -134,6 +134,8 @@ bcma_corecfg_get_port_list(struct bcma_corecfg *cfg, bhnd_port_type type) case BHND_PORT_AGENT: return (&cfg->wrapper_ports); break; + default: + return (NULL); } }