diff options
| author | Martyn Welch <[email protected]> | 2016-10-21 16:36:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-28 12:25:18 +0000 |
| commit | 6ad37567b6b886121e250036e489d82cde5e5e94 (patch) | |
| tree | adfaced0a77fe648869c1888ff63cddaff2eabbf /lib/debugobjects.c | |
| parent | Merge tag 'extcon-fixes-for-4.9-rc3' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
