Re: [PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup

2009-03-24 Thread Ameya Palande
Hi Hari, On Mon, Mar 23, 2009 at 8:49 PM, Kanigeri, Hari h-kanige...@ti.com wrote:                DRV_RemoveProcContext((struct DRV_OBJECT *)hDrvObject,                                     pCtxtclosed, (void *)pCtxtclosed-pid); I am trying to understand this patch. I see that pCtxtclosed is

RE: [PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup

2009-03-24 Thread Kanigeri, Hari
the Process Context when only the PID is passed in. Thank you, Best regards, Hari -Original Message- From: Ameya Palande [mailto:2am...@gmail.com] Sent: Tuesday, March 24, 2009 5:05 AM To: Kanigeri, Hari Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] [OMAPZOOM]DSPBRIDGE bug

Re: [PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup

2009-03-24 Thread Ameya Palande
Hi Hari, ext Kanigeri, Hari wrote: Hi Amey, I am trying to understand this patch. I see that pCtxtclosed is passed to DRV_RemoveProcContext() function but it is not used anywhere inside it. I was expecting to see a statement there which should free its memory. This pointer is getting

RE: [PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup

2009-03-24 Thread Kanigeri, Hari
- From: Ameya Palande [mailto:ameya.pala...@nokia.com] Sent: Tuesday, March 24, 2009 6:56 AM To: Kanigeri, Hari Cc: Ameya Palande; linux-omap@vger.kernel.org Subject: Re: [PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup Hi Hari, ext Kanigeri, Hari wrote: Hi Amey, I am trying

[PATCH] [OMAPZOOM]DSPBRIDGE bug in Bridge exit cleanup

2009-03-23 Thread Kanigeri, Hari
The Bridge exit resource cleanup is accessing Process context pointer after it is freed. Fixed this by holding the next Process context pointer in a temporary variable. Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- drivers/dsp/bridge/rmgr/drv_interface.c |5 +++-- 1 files changed, 3