svn commit: r249461 - head/sys/dev/ips
Hiren Panchasara
hiren at FreeBSD.org
Sun Apr 14 02:42:41 UTC 2013
Author: hiren
Date: Sun Apr 14 02:42:40 2013
New Revision: 249461
URL: http://svnweb.freebsd.org/changeset/base/249461
Log:
Fixing a clang warning indicating uninitialized variable usage.
PR: kern/177164
Approved by: sbruno (mentor)
Modified:
head/sys/dev/ips/ips.c
Modified: head/sys/dev/ips/ips.c
==============================================================================
--- head/sys/dev/ips/ips.c Sun Apr 14 02:26:12 2013 (r249460)
+++ head/sys/dev/ips/ips.c Sun Apr 14 02:42:40 2013 (r249461)
@@ -578,7 +578,7 @@ static int ips_copperhead_queue_init(ips
{
int error;
bus_dma_tag_t dmatag;
- bus_dmamap_t dmamap;
+ bus_dmamap_t dmamap = NULL;
if (bus_dma_tag_create( /* parent */ sc->adapter_dmatag,
/* alignemnt */ 1,
/* boundary */ 0,
More information about the svn-src-all
mailing list