Re: [RFC] Remove or convert empty ioctls ?
From: Thomas Gleixner
Date: Thu Oct 15 2009 - 12:25:22 EST
On Thu, 15 Oct 2009, Jeff Garzik wrote:
> On 10/15/2009 11:49 AM, Alan Cox wrote:
> > There are cases where
> >
> > case IOCWIBBLE:
> > return -EINVAL;
> >
> > is correct but they are unusual - basically the case where the driver
> > author wants to "support" the ioctl but there is no argument that it can
> > be given which is correct.
>
> This is the type of case I was referring to.
There is no real reason to believe that
int ioctl()
{
return -EINVAL;
}
fall into above category.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/