diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2025-12-09 20:00:20 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2025-12-09 20:00:20 +0000 |
| commit | e279724ae5a720c84cd86f1ce6fdac31fb94e735 (patch) | |
| tree | 787b8202e9c16436537cdeff46eb8516791f926b /sys/dev/dpaa2 | |
| parent | 575639548cef58590a1d70c29e47aae0e8d44153 (diff) | |
Diffstat (limited to 'sys/dev/dpaa2')
| -rw-r--r-- | sys/dev/dpaa2/dpaa2_rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dpaa2/dpaa2_rc.c b/sys/dev/dpaa2/dpaa2_rc.c index c360b6fcc929..36cacd1daa4b 100644 --- a/sys/dev/dpaa2/dpaa2_rc.c +++ b/sys/dev/dpaa2/dpaa2_rc.c @@ -3321,7 +3321,7 @@ dpaa2_rc_add_res(device_t rcdev, device_t child, enum dpaa2_dev_type devtype, /* Reserve a newly added DPAA2 resource. */ res = resource_list_reserve(&dinfo->resources, rcdev, child, devtype, - rid, (rman_res_t) dpaa2_dev, (rman_res_t) dpaa2_dev, 1, + *rid, (rman_res_t) dpaa2_dev, (rman_res_t) dpaa2_dev, 1, flags & ~RF_ACTIVE); if (!res) { device_printf(rcdev, "%s: failed to reserve %s (rid=%d) for: %s " |
