aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorMartyn Welch <[email protected]>2016-10-21 16:36:19 +0000
committerGreg Kroah-Hartman <[email protected]>2016-10-28 12:25:18 +0000
commit6ad37567b6b886121e250036e489d82cde5e5e94 (patch)
treeadfaced0a77fe648869c1888ff63cddaff2eabbf /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentMerge tag 'extcon-fixes-for-4.9-rc3' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-6ad37567b6b886121e250036e489d82cde5e5e94.tar.gz
kernel-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 <[email protected]> Signed-off-by: Martyn Welch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions