Messages in this thread | | | Date | Sun, 14 Feb 2010 17:48:42 +0100 | From | Roel Kluin <> | Subject | Re: [PATCH] OMAP: Dereference of NULL autodep in _autodep_lookup() |
| |
Op 14-02-10 17:00, Roel Kluin schreef: > Don't dereference autodep when it's NULL. In _autodep_lookup() an > ERR_PTR(-ENOENT) is assigned to autodep->pwrdm.ptr if pwrdm_lookup() fails.
I am not sure whether my patch was right, if indeed a dereference, then it appears to also occur in _clkdm_add_autodeps() and _clkdm_del_autodeps().
Roel
| |