aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartyn Welch <martyn@welchs.me.uk>2016-10-21 17:36:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-28 08:25:18 -0400
commit6ad37567b6b886121e250036e489d82cde5e5e94 (patch)
treeadfaced0a77fe648869c1888ff63cddaff2eabbf /tools/perf/scripts/python/export-to-postgresql.py
parentMerge tag 'extcon-fixes-for-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-linus (diff)
downloadwireguard-linux-6ad37567b6b886121e250036e489d82cde5e5e94.tar.xz
wireguard-linux-6ad37567b6b886121e250036e489d82cde5e5e94.zip
vme: vme_get_size potentially returning incorrect value on failure
The function vme_get_size returns the size of the window to the caller, however it doesn't check the return value of the call to vme_master_get. Return 0 on failure rather than anything else. Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions