Re: [PATCH] ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm

2013-12-02 Thread Tony Lindgren
* Nishanth Menon [131127 17:56]: > On 11/27/2013 05:57 AM, Rajendra Nayak wrote: > > Commit 'cd8abed' "ARM: OMAP2+: Powerdomain: Remove the need to > > always have a voltdm associated to a pwrdm" leads to the following > > Smatch complaint: > > > > arch/arm/mach-omap2/powerdomain.c:131 _pwrdm_reg

Re: [PATCH] ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm

2013-11-27 Thread Nishanth Menon
On 11/27/2013 05:57 AM, Rajendra Nayak wrote: > Commit 'cd8abed' "ARM: OMAP2+: Powerdomain: Remove the need to > always have a voltdm associated to a pwrdm" leads to the following > Smatch complaint: > > arch/arm/mach-omap2/powerdomain.c:131 _pwrdm_register() >error: we previously assumed

[PATCH] ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm

2013-11-27 Thread Rajendra Nayak
Commit 'cd8abed' "ARM: OMAP2+: Powerdomain: Remove the need to always have a voltdm associated to a pwrdm" leads to the following Smatch complaint: arch/arm/mach-omap2/powerdomain.c:131 _pwrdm_register() error: we previously assumed 'arch_pwrdm' could be null (see line 105) So, fix the u