Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remove bad usage of ERESTARTSYS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Manu Abraham
Date: Wednesday, October 10, 2007 - 9:40 am

Mauro Carvalho Chehab wrote:


When you have only some few lines of code you can write

 err = foo()
 if (err) {
  do whatever
 } 

doesn't matter ..

But when you have hell a lot of code, checking error's what you 
mention is insane.

ie,

if ((err = foo()) expr ) is better.

http://lkml.org/lkml/2007/2/4/56

Manu
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] V4L: cinergyT2, remove bad usage of ERESTA ..., Mauro Carvalho Chehab, (Tue Oct 9, 6:21 pm)
Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remov ..., Mauro Carvalho Chehab, (Wed Oct 10, 8:35 am)
Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remov ..., Mauro Carvalho Chehab, (Wed Oct 10, 9:17 am)
Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remov ..., Manu Abraham, (Wed Oct 10, 9:40 am)