Thread (37 messages) 37 messages, 2 authors, 2016-09-15

Re: [PATCH 3/9] net: ethernet: ti: cpts: rework initialization/deinitialization

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-09-14 20:52:31
Also in: linux-omap, lkml

On Wed, Sep 14, 2016 at 11:37:45PM +0300, Grygorii Strashko wrote:
The problem is that if cpts not initialized than pinter on 
cpts (in consumer/parent driver - NETCP) will be NULL.
You made that problem with your "clean up" in this series.
Previously, cpts was always allocated.
So, rx_enable will be unaccessible and cause crash :(
So just make sure cpts is initialized.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help