aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSuman Anna <[email protected]>2013-03-06 16:56:48 -0600
committerOhad Ben-Cohen <[email protected]>2013-04-05 08:47:38 +0300
commitb39599b7cb8f295205b04827ff82e3afec687cde (patch)
tree39d30976e21dabd233fdb4971a2aae65ba3c6663 /tools/perf/scripts/python/sched-migration.py
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
remoteproc: fix the error check for idr_alloc
The new idr_alloc interface returns the allocated id back on success, so fix the error path to check for negative values. This was missed out in the newer idr interface adoption patch, 15fc611 "remoteproc: convert to idr_alloc()". Signed-off-by: Suman Anna <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Ohad Ben-Cohen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions