aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-12-20 19:13:07 +0100
committerBartlomiej Zolnierkiewicz <[email protected]>2018-12-20 19:13:07 +0100
commitc143a559b073aeea688b9bb7c5b46f3cf322d569 (patch)
treef004548efca498d415564a81c2250bc7cb96229d /tools/perf/scripts/python/export-to-postgresql.py
parent31d1b7710262fba12282b24083f20dc76e0efc93 (diff)
udlfb: fix some inconsistent NULL checking
In the current kernel, then kzalloc() can't fail for small allocations, but if it did fail then we would have a NULL dereference in the error handling. Also in dlfb_usb_disconnect() if "info" were NULL then it would cause an Oops inside the unregister_framebuffer() function but it can't be NULL so let's remove that check. Fixes: 68a958a915ca ("udlfb: handle unplug properly") Signed-off-by: Dan Carpenter <[email protected]> Cc: Bernie Thompson <[email protected]> Cc: Mikulas Patocka <[email protected]> Cc: Alexey Khoroshilov <[email protected]> Cc: Colin Ian King <[email protected]> Cc: Wen Yang <[email protected]> [b.zolnierkie: added "Fixes:" tag] 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