On Wed, Jan 09, 2008 at 01:44:07PM +0800, Li Zefan ([EMAIL PROTECTED]) wrote:
>
> cn_queue_free_callback() will touch 'dev'(i.e. cbq->pdev),
> so it should be called before atomic_dec(&dev->refcnt).
>
> Signed-off-by: Li Zefan <[EMAIL PROTECTED]>
Thanks a lot!
--
Evgeniy Polyakov
--
To
From: Li Zefan <[EMAIL PROTECTED]>
Date: Wed, 09 Jan 2008 13:44:07 +0800
>
> cn_queue_free_callback() will touch 'dev'(i.e. cbq->pdev),
> so it should be called before atomic_dec(&dev->refcnt).
>
> Signed-off-by: Li Zefan <[EMAIL PROTECTED]>
Excellent catch, patch applied.
Thanks.
--
To unsubs
cn_queue_free_callback() will touch 'dev'(i.e. cbq->pdev),
so it should be called before atomic_dec(&dev->refcnt).
Signed-off-by: Li Zefan <[EMAIL PROTECTED]>
---
drivers/connector/cn_queue.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/connector/cn_queue.c
3 matches
Mail list logo