Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 14:44:23 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297969 - head/sys/arm64/arm64
Message-ID:  <201604141444.u3EEiNmo017320@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Apr 14 14:44:23 2016
New Revision: 297969
URL: https://svnweb.freebsd.org/changeset/base/297969

Log:
  Fix the types for the start, end, and count arguments to
  arm_gic_fdt_alloc_resource. These were the old u_long where they should be
  rman_res_t. Both of these are the same size on arm64 so this is just for
  correctness, and would not have led to incorrect behaviour.
  
  Obtained from:	ABT Systems Ltd
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/arm64/gic_fdt.c

Modified: head/sys/arm64/arm64/gic_fdt.c
==============================================================================
--- head/sys/arm64/arm64/gic_fdt.c	Thu Apr 14 14:11:32 2016	(r297968)
+++ head/sys/arm64/arm64/gic_fdt.c	Thu Apr 14 14:44:23 2016	(r297969)
@@ -198,7 +198,7 @@ arm_gic_fdt_attach(device_t dev)
 
 static struct resource *
 arm_gic_fdt_alloc_resource(device_t bus, device_t child, int type, int *rid,
-    u_long start, u_long end, u_long count, u_int flags)
+    rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
 {
 	struct arm_gic_fdt_softc *sc = device_get_softc(bus);
 	struct gic_devinfo *di;



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