From owner-svn-src-all@FreeBSD.ORG Sun Feb 2 05:52:35 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69083B07; Sun, 2 Feb 2014 05:52:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 542201F69; Sun, 2 Feb 2014 05:52:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s125qZQY075351; Sun, 2 Feb 2014 05:52:35 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s125qZ4t075350; Sun, 2 Feb 2014 05:52:35 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201402020552.s125qZ4t075350@svn.freebsd.org> From: Nathan Whitehorn Date: Sun, 2 Feb 2014 05:52:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261398 - head/sys/dev/fdt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 05:52:35 -0000 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); }