The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Jeff Garzik <jeff@garzik.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	LKML <linux-kernel@vger.kernel.org>,
	Arnd Bergmann <arnd@arndb.de>, Ingo Molnar <mingo@elte.hu>,
	Peter Zijlstra <peterz@infradead.org>,
	Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: [RFC] Remove or convert empty ioctls ?
Date: Thu, 15 Oct 2009 18:23:23 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0910151822280.9428@localhost.localdomain> (raw)
In-Reply-To: <4AD747EB.3040008@garzik.org>

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

  reply	other threads:[~2009-10-15 16:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15  9:20 [RFC] Remove or convert empty ioctls ? Thomas Gleixner
2009-10-15 12:12 ` Jeff Garzik
2009-10-15 15:01   ` Alan Cox
2009-10-15 15:22     ` Jeff Garzik
2009-10-15 15:31       ` Alan Cox
2009-10-15 15:35         ` Jeff Garzik
2009-10-15 15:49           ` Alan Cox
2009-10-15 16:03             ` Jeff Garzik
2009-10-15 16:23               ` Thomas Gleixner [this message]
2009-10-15 16:28             ` Thomas Gleixner
2009-10-15 15:50           ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.0910151822280.9428@localhost.localdomain \
    --to=tglx@linutronix.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arnd@arndb.de \
    --cc=fweisbec@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox