Commit b2fa344d authored by Yan, Zheng's avatar Yan, Zheng Committed by Ingo Molnar
parent 7be6296f
...@@ -536,7 +536,7 @@ __snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *eve ...@@ -536,7 +536,7 @@ __snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *eve
if (!uncore_box_is_fake(box)) if (!uncore_box_is_fake(box))
reg1->alloc |= alloc; reg1->alloc |= alloc;
return 0; return NULL;
fail: fail:
for (; i >= 0; i--) { for (; i >= 0; i--) {
if (alloc & (0x1 << i)) if (alloc & (0x1 << i))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment