Re: [PATCH] [media] firedtv: change some -EFAULT returns to more fitting error codes

2011-07-06 Thread Mauro Carvalho Chehab
Hi Stefan, Em 06-07-2011 14:33, Stefan Richter escreveu: > Mauro Carvalho Chehab wrote: >> I'm validating if all drivers are behaving equally with respect to the >> error codes returned to userspace, and double-checking with the API. >> >> On almost all places, -EFAULT code is used only to indicat

[PATCH] [media] firedtv: change some -EFAULT returns to more fitting error codes

2011-07-06 Thread Stefan Richter
Mauro Carvalho Chehab wrote: > I'm validating if all drivers are behaving equally with respect to the > error codes returned to userspace, and double-checking with the API. > > On almost all places, -EFAULT code is used only to indicate when > copy_from_user/copy_to_user fails. However, firedtv us