Re: [PATCH] omap: pm: Fix error condition in _pwrdm_deps_lookup when pwrdm not found.

2009-08-13 Thread Paul Walmsley
On Wed, 12 Aug 2009, Kevin Hilman wrote: Mike Chan m...@android.com writes: Check pwrdm_name instead of the address of a null struct when at the end of pwrdm_dep array. Reported-by: Paul Walmsley p...@pwsan.com Signed-off-by: Mike Chan m...@android.com Thanks, to keep it all

[PATCH] omap: pm: Fix error condition in _pwrdm_deps_lookup when pwrdm not found.

2009-08-12 Thread Mike Chan
Check pwrdm_name instead of the address of a null struct when at the end of pwrdm_dep array. Reported-by: Paul Walmsley p...@pwsan.com Signed-off-by: Mike Chan m...@android.com --- arch/arm/mach-omap2/powerdomain.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] omap: pm: Fix error condition in _pwrdm_deps_lookup when pwrdm not found.

2009-08-12 Thread Kevin Hilman
Mike Chan m...@android.com writes: Check pwrdm_name instead of the address of a null struct when at the end of pwrdm_dep array. Reported-by: Paul Walmsley p...@pwsan.com Signed-off-by: Mike Chan m...@android.com Thanks, to keep it all together, I'll revert the original and merge this into a