Return-path: Received: from proofpoint-cluster.metrocast.net ([65.175.128.136]:38388 "EHLO proofpoint-cluster.metrocast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264Ab1F0PMs (ORCPT ); Mon, 27 Jun 2011 11:12:48 -0400 Subject: Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist From: Andy Walls To: Mauro Carvalho Chehab Cc: Hans Verkuil , Sakari Ailus , Arnd Bergmann , Linux Media Mailing List , Linux Kernel Mailing List , Linus Torvalds In-Reply-To: <4E088B83.2050001@redhat.com> References: <4E0519B7.3000304@redhat.com> <201106262020.20432.arnd@arndb.de> <4E077FB9.7030600@redhat.com> <201106270738.27417.hverkuil@xs4all.nl> <20110627120233.GD12671@valkosipuli.localdomain> <86e5c1f0a0222d3b2cf371f3c9d3b067.squirrel@webmail.xs4all.nl> <4E088B83.2050001@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 27 Jun 2011 11:12:49 -0400 Message-ID: <1309187569.3559.63.camel@morgan.silverblock.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-ID: Sender: On Mon, 2011-06-27 at 10:54 -0300, Mauro Carvalho Chehab wrote: > The right thing to do is to create a separate chapter for error codes, based on errno(3) > man page [snip] IMO, the IEEE Std 1003.1 is a better source for errno definitions than the errno(3) manpage: http://pubs.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_03.html Regards, Andy