[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130930135929.GA24928@rere.qmqm.pl>
Date: Mon, 30 Sep 2013 15:59:29 +0200
From: Michał Mirosław <mirq-linux@...e.qmqm.pl>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: gregkh@...uxfoundation.org, yongjun_wei@...ndmicro.com.cn,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc: cb710: drop free_irq for devm_request_irq
allocated irq
On Tue, Sep 24, 2013 at 10:40:57AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> irq allocated with devm_request_irq should not be freed using
> free_irq, because doing so causes a dangling pointer, and a
> subsequent double free.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Acked-by: Michał Mirosław <mirq-linux@...e.qmqm.pl>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists