linux/drivers/vme
Martyn Welch 6ad37567b6 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>
2016-10-28 08:25:18 -04:00
..
boards
bridges vme: fake: remove unexpected unlock in fake_master_set() 2016-09-27 12:43:35 +02:00
Kconfig
Makefile
vme.c vme: vme_get_size potentially returning incorrect value on failure 2016-10-28 08:25:18 -04:00
vme_bridge.h vme: change LM callback argument to void pointer 2016-08-31 13:20:15 +02:00