diff options
author | Daniel Mack <[email protected]> | 2018-07-24 19:11:25 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2018-07-24 19:11:25 +0200 |
commit | a2f2058e3d295fbaa5f681c1651cb5a8df840966 (patch) | |
tree | d53a5b4daa696c01556511b6bfd833c2d2c385e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c8f96304ec8b49f361c2ede3b3a73a2291e0f687 (diff) |
video: fbdev: pxafb: handle errors from pxafb_init_fbinfo() correctly
pxafb_init_fbinfo() can not only report errors caused by failed
allocations but also when the clock can't be found.
To fix this, return an error pointer instead of NULL in case of errors,
and up-chain the result.
Signed-off-by: Daniel Mack <[email protected]>
Reviewed-by: Robert Jarzmik <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions