Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 17:13:54 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327085 - head/sys/dev/fdc
Message-ID:  <201712221713.vBMHDs4Q046802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712221713.vBMHDs4Q046802>