Re: [PATCH] rtc subsystem, use ENOIOCTLCMD where appropriate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 May 2006 14:25:10 -0700
"Randy.Dunlap" <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux