svn commit: r299123 - head/sys/dev/bhnd/bcma

Ed Maste emaste at FreeBSD.org
Thu May 5 17:47:04 UTC 2016


Author: emaste
Date: Thu May  5 17:47:03 2016
New Revision: 299123
URL: https://svnweb.freebsd.org/changeset/base/299123

Log:
  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

Modified:
  head/sys/dev/bhnd/bcma/bcma_subr.c

Modified: head/sys/dev/bhnd/bcma/bcma_subr.c
==============================================================================
--- head/sys/dev/bhnd/bcma/bcma_subr.c	Thu May  5 15:43:26 2016	(r299122)
+++ head/sys/dev/bhnd/bcma/bcma_subr.c	Thu May  5 17:47:03 2016	(r299123)
@@ -134,6 +134,8 @@ bcma_corecfg_get_port_list(struct bcma_c
 	case BHND_PORT_AGENT:
 		return (&cfg->wrapper_ports);
 		break;
+	default:
+		return (NULL);
 	}
 }
 


More information about the svn-src-all mailing list