svn commit: r327085 - head/sys/dev/fdc

Warner Losh imp at FreeBSD.org
Fri Dec 22 17:13:55 UTC 2017


Author: imp
Date: Fri Dec 22 17:13:54 2017
New Revision: 327085
URL: https://svnweb.freebsd.org/changeset/base/327085

Log:
  Need to NULL terminate this list. It worked before by accidental data
  in the module following it that terminated the search.

Modified:
  head/sys/dev/fdc/fdc_pccard.c

Modified: head/sys/dev/fdc/fdc_pccard.c
==============================================================================
--- head/sys/dev/fdc/fdc_pccard.c	Fri Dec 22 16:59:50 2017	(r327084)
+++ head/sys/dev/fdc/fdc_pccard.c	Fri Dec 22 17:13:54 2017	(r327085)
@@ -49,6 +49,7 @@ static int fdc_pccard_attach(device_t);
 
 static const struct pccard_product fdc_pccard_products[] = {
 	PCMCIA_CARD(YEDATA, EXTERNAL_FDD),
+	{ NULL }
 };
 	
 static int


More information about the svn-src-head mailing list