On Sat, 4 Apr 2015 03:16:01 +0300
Alexey Khoroshilov khoroshi...@ispras.ru wrote:
If i2c_add_adapter() fails, adap is not deallocated.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru
Actually, the worse thing is that
On 04.04.2015 16:36, Jonathan Corbet wrote:
On Sat, 4 Apr 2015 03:16:01 +0300
Alexey Khoroshilov khoroshi...@ispras.ru wrote:
If i2c_add_adapter() fails, adap is not deallocated.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
If i2c_add_adapter() fails, adap is not deallocated.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru
---
drivers/media/platform/marvell-ccic/cafe-driver.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)