Messages in this thread | | | Date | Wed, 17 May 2006 23:27:42 +0200 | From | Alessandro Zummo <> | Subject | Re: [PATCH] rtc subsystem, use ENOIOCTLCMD where appropriate |
| |
On Wed, 17 May 2006 14:25:10 -0700 "Randy.Dunlap" <rdunlap@xenotime.net> wrote:
> On Wed, 17 May 2006 01:30:33 +0200 Alessandro Zummo wrote: > > > > > > > Appropriately use -ENOIOCTLCMD when > > the ioctl is not implemented by a driver. > > so this return value does not go back to userspace? > Comment in linux/errno.h says: > /* Should never be seen by user programs */ > > and ENOTTY is the return value for "Inappropriate ioctl for device": >
you're right. I'll go for ENOTTY. thanks.
--
Best regards,
Alessandro Zummo, Tower Technologies - Turin, Italy
http://www.towertech.it
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |