aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-04-08 14:19:00 +0300
committerGreg Kroah-Hartman <[email protected]>2015-05-08 01:58:04 +0200
commitb5eed730bd3f216dd172d2d699686000f8cb9b38 (patch)
treed3ffe9b05c4eafa29383edbc6de003e0bcf52087 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentbb6ce8b28d97f39c591e94322e3ad28ff22649b2 (diff)
staging: rtl8712: freeing an ERR_PTR
If memdup_user() fails then "pparmbuf" is an error pointer and we can't pass it to kfree(). I changed the "goto _r871x_mp_ioctl_hdl_exit" to a direct return. I changed the earlier goto to a direct return as well for consistency and removed the "pparmbuf = NULL" initializer since it's no longer needed. Fixes: 45de432775d6 ('Staging: rtl8712: Use memdup_user() instead of copy_from_user()') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions