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
This commit is contained in:
parent
9a0fd089bf
commit
474f44319d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user