]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: cdev: fix function return value
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:45:08 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:50 +0000 (13:41 +0200)
commit779d7ed32cf798c0853d44191a0e44055fe8ea72
tree1c05cd8bece616d7f5bdf3798c9d7c22236fff0b
parent42e0eefee87983b4decf17ce60572ecd1be1e98b
staging: most: cdev: fix function return value

The function ch_get_mbo declares its return value as type bool,
but returns a pointer to mbo.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/cdev/cdev.c