Re: [PATCH] staging: kpc2000: replace assertion with recovery code

2020-01-03 Thread Dan Carpenter
On Sun, Dec 15, 2019 at 07:28:14PM +0100, Greg Kroah-Hartman wrote: > On Sun, Dec 15, 2019 at 12:12:37PM -0600, Aditya Pakki wrote: > > In kpc_dma_transfer, if either priv or ldev is NULL, crashing the > > process is excessive and is not needed. Instead of asserting, by > > passing the error upstre

Re: [PATCH] staging: kpc2000: replace assertion with recovery code

2019-12-15 Thread Greg Kroah-Hartman
On Sun, Dec 15, 2019 at 12:12:37PM -0600, Aditya Pakki wrote: > In kpc_dma_transfer, if either priv or ldev is NULL, crashing the > process is excessive and is not needed. Instead of asserting, by > passing the error upstream, the error can be handled. > > Signed-off-by: Aditya Pakki > --- > dri