Re: [PATCH] omap: resource: Fix race in register_resource()

2009-09-30 Thread Kevin Hilman
Mike Chan m...@android.com writes: Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com Thanks, this one applies. Pushing to PM branch and pm-2.6.29. Kevin ---

Re: [PATCH] omap: resource: Fix race in register_resource()

2009-09-30 Thread Kevin Hilman
Mike Chan m...@android.com writes: Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com --- arch/arm/plat-omap/resource.c | 13 - 1 files changed, 8 insertions(+), 5

Re: [PATCH] omap: resource: Fix race in register_resource()

2009-09-30 Thread Mike Chan
On Wed, Sep 30, 2009 at 4:49 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Mike Chan m...@android.com writes: Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com ---  

[PATCH] omap: resource: Fix race in register_resource()

2009-09-17 Thread Mike Chan
Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com --- arch/arm/plat-omap/resource.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] omap: resource: Fix race in register_resource()

2009-09-08 Thread Kevin Hilman
Mike Chan m...@android.com writes: Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com Functionally, this looks fine. Some procedural details still to work out: Are you the original author

Re: [PATCH] omap: resource: Fix race in register_resource()

2009-09-08 Thread Mike Chan
On Tue, Sep 8, 2009 at 3:39 PM, Kevin Hilmankhil...@deeprootsystems.com wrote: Mike Chan m...@android.com writes: Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com Functionally, this

[PATCH] omap: resource: Fix race in register_resource()

2009-09-03 Thread Mike Chan
Checking if the resource is already registered and adding to the list must be atomic or bad things can happen. Signed-off-by: Mike Chan m...@android.com --- arch/arm/plat-omap/resource.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git