Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 05:52:35 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261398 - head/sys/dev/fdt
Message-ID:  <201402020552.s125qZ4t075350@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Feb  2 05:52:34 2014
New Revision: 261398
URL: http://svnweb.freebsd.org/changeset/base/261398

Log:
  Fix missing offset.

Modified:
  head/sys/dev/fdt/fdt_common.c

Modified: head/sys/dev/fdt/fdt_common.c
==============================================================================
--- head/sys/dev/fdt/fdt_common.c	Sun Feb  2 05:41:12 2014	(r261397)
+++ head/sys/dev/fdt/fdt_common.c	Sun Feb  2 05:52:34 2014	(r261398)
@@ -501,7 +501,8 @@ fdt_intr_to_rl(device_t dev, phandle_t n
 			icells = 1;
 		}
 		for (i = 0, k = 0; i < nintr; i += icells, k++) {
-			intr[i] = ofw_bus_map_intr(dev, iparent, icells, intr);
+			intr[i] = ofw_bus_map_intr(dev, iparent, icells,
+			    &intr[i]);
 			resource_list_add(rl, SYS_RES_IRQ, k, intr[i], intr[i],
 			    1);
 		}



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