Commit c8a9c4b3 authored by John Levon's avatar John Levon Committed by Linus Torvalds

[PATCH] OProfile update

Convention is that error returns are negative.
parent 2007b52c
......@@ -175,7 +175,7 @@ oprofile_arch_init(struct oprofile_operations **ops)
}
if (!lmodel)
return ENODEV;
return -ENODEV;
model = lmodel;
oprof_axp_ops.cpu_type = lmodel->cpu_type;
......
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