Re: [PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Souptick Joarder
On Mon, Feb 4, 2019 at 3:25 AM Nicolas Dufresne wrote: > > Le dimanche 03 février 2019 à 19:06 +0530, Souptick Joarder a écrit : > > There is no point to continuing assignemnt after memory allocation > > assignemnt -> assignment. Ah, type. > > > failed, rather throw error immediately. > > > >

Re: [PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Nicolas Dufresne
Le dimanche 03 février 2019 à 19:06 +0530, Souptick Joarder a écrit : > There is no point to continuing assignemnt after memory allocation assignemnt -> assignment. > failed, rather throw error immediately. > > Signed-off-by: Souptick Joarder > --- >

[PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Souptick Joarder
There is no point to continuing assignemnt after memory allocation failed, rather throw error immediately. Signed-off-by: Souptick Joarder --- drivers/media/common/videobuf2/videobuf2-vmalloc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git