android_kernel_motorola_sm6375/drivers/mcb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET 5ec6bff199 mcb: Fix an error handling path in 'chameleon_parse_cells()'
If 'chameleon_get_bar()' fails, we will return 0, which mean success.
We should return the corresponding error code instead.

Remove the useless initialisation of 'ret' which was hiding the issue.
(if 'ret' is not set, gcc generates a warning ("warning: ‘ret’ may be used
uninitialized in this function"))

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-31 18:49:41 +02:00
..
Kconfig
Makefile
mcb-core.c mcb: Add a dma_device to mcb_device 2016-09-27 12:33:47 +02:00
mcb-internal.h
mcb-lpc.c MCB: add support for SC31 to mcb-lpc 2017-08-31 18:49:41 +02:00
mcb-parse.c mcb: Fix an error handling path in 'chameleon_parse_cells()' 2017-08-31 18:49:41 +02:00
mcb-pci.c mcb: Enable PCI bus mastering by default 2016-09-27 12:33:47 +02:00