Message ID | 20191001070002.20271-13-clg@kaod.org |
---|---|
State | Accepted |
Headers | show |
Series | xive/p9: fixes and cleanups | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (470ffb5f29d741c3bed600f7bb7bf0cbb270e05a) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | success | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
diff --git a/hw/xive.c b/hw/xive.c index 26ae10f9782b..ff5a1bed847d 100644 --- a/hw/xive.c +++ b/hw/xive.c @@ -4635,7 +4635,7 @@ static int64_t opal_xive_free_vp_block(uint64_t vp_base) /* Ensure EQs are disabled and cleaned up. Ideally the caller * should have done it but we double check it here */ - for (j = 0; j < 7; j++) { + for (j = 0; j < NUM_INT_PRIORITIES; j++) { struct xive *eq_x = xive_from_vc_blk(eq_blk); struct xive_eq eq, *orig_eq = xive_get_eq(eq_x, eq_idx + j);
EQ 7 was missing from the cleanup loop. Signed-off-by: Cédric Le Goater <clg@kaod.org> --- hw/xive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)