Re: [PATCH] staging: most: hdm-dim2: Remove possible dereference error

2016-03-19 Thread Andrey Shvetsov
On Fri, Mar 18, 2016 at 06:32:15PM +0530, Amitoj Kaur Chawla wrote: > Commit 3eced21a5afb ("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:

[PATCH] staging: most: hdm-dim2: Remove possible dereference error

2016-03-19 Thread Amitoj Kaur Chawla
Commit 3eced21a5afb ("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 warning by returning PTR_ERR

Re: [PATCH] staging: most: hdm-dim2: Remove possible dereference error

2016-03-19 Thread Amitoj Kaur Chawla
On Fri, Mar 18, 2016 at 7:44 PM, Andrey Shvetsov wrote: > On Fri, Mar 18, 2016 at 06:32:15PM +0530, Amitoj Kaur Chawla wrote: >> Commit 3eced21a5afb ("staging: most: hdm-dim2: Replace request_irq >> with devm_request_irq") introduced the following static checker >>