linux/drivers/staging/most
Amitoj Kaur Chawla 982177677a staging: most: hdm-dim2: Remove possible dereference error
Commit 3eced21a5a ("staging: most: hdm-dim2: Replace request_irq
with devm_request_irq") introduced the following static checker
warning:

drivers/staging/most/hdm-dim2/dim2_hdm.c:841 dim2_probe() error: 'dev->netinfo_task' dereferencing possible ERR_PTR()

Remove the bug introduced by the commit due to change in control flow
by returning PTR_ERR immediately rather than returning at the end of
the function since we do not need to free anything.

Fixes: 3eced21a5a
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-22 22:22:13 -04:00
..
Documentation
aim-cdev staging: most: return error value 2016-02-11 19:40:02 -08:00
aim-network staging: most: add statistics for dropped packets 2016-02-07 17:34:58 -08:00
aim-sound
aim-v4l2
hdm-dim2 staging: most: hdm-dim2: Remove possible dereference error 2016-03-22 22:22:13 -04:00
hdm-i2c
hdm-usb staging: most: hdm-usb: Remove invalid reference error 2016-03-11 22:09:09 -08:00
mostcore Staging: most: Do not print message if kzalloc() failed. 2016-02-25 22:34:19 -08:00
Kconfig
Makefile
TODO