Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Greg KH
On Fri, Aug 07, 2020 at 05:33:53PM -0700, Chris Lew wrote: > Hi Greg, > > On 8/7/2020 12:59 AM, Greg KH wrote: > > On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: > > > From: Chris Lew > > > > > > In RPMSG GLINK the chrdev device will allocate an ept as part of the > > > rpde

Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Chris Lew
Hi Greg, On 8/7/2020 12:59 AM, Greg KH wrote: On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: From: 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

Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Greg KH
On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: > From: 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 dev

[PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-06-24 Thread Deepak Kumar Singh
From: 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 Signed-off-by: Deepak Kumar