diff options
author | Rajendra Nayak <[email protected]> | 2013-12-02 11:38:14 -0800 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2013-12-02 11:38:14 -0800 |
commit | 1cfc4bdd51970ac07c9eea545e65a3b16dc269b6 (patch) | |
tree | 7ff5719fec95336d3327a2164afa658c913c4bd7 /scripts/gdb/linux/modules.py | |
parent | 33e9c392adf521b0a5be7ee2b9b28705b47f8967 (diff) |
ARM: OMAP2+: Powerdomain: Fix unchecked dereference of arch_pwrdm
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 unchecked dereference of arch_pwrdm.
Reported-by: Dan Carpenter <[email protected]>
Acked-by: Nishanth Menon <[email protected]>
Signed-off-by: Rajendra Nayak <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions