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
..
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 staging: most: remove multiple blank lines 2015-10-24 19:08:16 -07:00
aim-v4l2 staging: most: use preferred kzalloc parameters 2015-10-24 19:08:20 -07:00
Documentation Staging: most: Fix typo in staging/most 2015-10-12 20:35:21 -07:00
hdm-dim2 staging: most: hdm-dim2: Remove possible dereference error 2016-03-22 22:22:13 -04:00
hdm-i2c staging: most: use preferred kernel types 2015-10-24 19:08:20 -07:00
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 Staging: most: MOST and MOSTCORE should depend on HAS_DMA 2015-09-13 09:24:44 -07:00
Makefile Staging: most: add MOST driver's hdm-usb module 2015-07-24 13:50:43 -07:00
TODO