Re: [PATCH v3 4/6] rpmsg: Guard against null endpoint ops in destroy

2018-04-30 Thread Arnaud Pouliquen
On 04/30/2018 10:36 AM, Arnaud Pouliquen wrote: > Hello Chris, > > On 04/27/2018 12:59 AM, Chris Lew wrote: >> In RPMSG GLINK the chrdev device will allocate an ept as part of the >> rpdev creation. This device will not register endpoint ops even though >> it has an allocated ept. Protect agains

Re: [PATCH v3 4/6] rpmsg: Guard against null endpoint ops in destroy

2018-04-30 Thread Arnaud Pouliquen
Hello Chris, On 04/27/2018 12:59 AM, Chris Lew wrote: > In RPMSG GLINK the chrdev device will allocate an ept as part of the > rpdev creation. This device will not register endpoint ops even though > it has an allocated ept. Protect against the case where the device is > being destroyed. > > Sign

[PATCH v3 4/6] rpmsg: Guard against null endpoint ops in destroy

2018-04-26 Thread Chris Lew
In RPMSG GLINK the chrdev device will allocate an ept as part of the rpdev creation. This device will not register endpoint ops even though it has an allocated ept. Protect against the case where the device is being destroyed. Signed-off-by: Chris Lew --- Changes since v1: - New change drivers