public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jeff Dike <jdike@addtoit.com>
Cc: Alan Cox <alan@linux.intel.com>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Remove Hayes ESP ioctls
Date: Thu, 17 Jun 2010 13:09:38 -0700	[thread overview]
Message-ID: <20100617200938.GB25977@kroah.com> (raw)
In-Reply-To: <20100617191516.GA15963@c-98-229-117-200.hsd1.ma.comcast.net>

On Thu, Jun 17, 2010 at 03:15:16PM -0400, Jeff Dike wrote:
> On Thu, Jun 17, 2010 at 10:28:28AM -0700, Greg KH wrote:
> > You forgot to put a "Signed-off-by:" line in here.
> > 
> > Care to add it, and resend it to me?
> 
> Oops...
> 
> commit e6b14f5bc9803589241bc2aae1565fa0c5bd0ce1
> Author: Jeff Dike <jdike@linux.intel.com>
> Date:   Thu Jun 17 11:54:24 2010 -0400
> 
>     Remove Hayes ESP ioctls
>     
>     The Hayes ESP driver has been removed from the tree:
>         commit f53a2ade0bb9f2a81f473e6469155172a96b7c38
>         ("tty: esp: remove broken driver")
>     so its ioctls aren't needed any more.
> 
>     Signed-off-by: Jeff Dike <jdike@linux.intel.com>
> 
> diff --git a/include/asm-generic/ioctls.h b/include/asm-generic/ioctls.h
> index a799e20..16218ac 100644
> --- a/include/asm-generic/ioctls.h
> +++ b/include/asm-generic/ioctls.h
> @@ -86,16 +86,6 @@
>  #define TIOCMIWAIT	0x545C	/* wait for a change on serial input line(s) */
>  #define TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
>  
> -/*
> - * some architectures define FIOQSIZE as 0x545E, which is used for
> - * TIOCGHAYESESP on others
> - */
> -#ifndef FIOQSIZE
> -# define TIOCGHAYESESP	0x545E  /* Get Hayes ESP configuration */
> -# define TIOCSHAYESESP	0x545F  /* Set Hayes ESP configuration */
> -# define FIOQSIZE	0x5460
> -#endif

Wait, don't we still need to define FIOQSIZE here if no one else has
done it yet?  With this patch I get a build error on fs/ioctl.c:
	fs/ioctl.c: In function ‘do_vfs_ioctl’:
	fs/ioctl.c:573:7: error: ‘FIOQSIZE’ undeclared (first use in this function)

So shouldn't we just remove the TIOCGHAYESESP and TIOCSHAYESESP values,
and only set FIOQSIZE if it's not set yet?

thanks,

greg k-h

  parent reply	other threads:[~2010-06-17 20:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17 16:00 [PATCH] Remove Hayes ESP ioctls Jeff Dike
2010-06-17 17:28 ` Greg KH
2010-06-17 19:15   ` Jeff Dike
2010-06-17 19:44     ` Arnd Bergmann
2010-06-17 20:03       ` Greg KH
2010-06-17 20:09     ` Greg KH [this message]
2010-06-17 20:14       ` Greg KH
2010-06-17 20:41         ` Arnd Bergmann
2010-06-17 21:29           ` Jeff Dike
2010-06-17 22:03             ` Greg KH
2010-06-17 23:18               ` Jeff Dike
2010-06-17 20:18     ` patch tty-remove-hayes-esp-ioctls.patch added to gregkh-2.6 tree gregkh

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=20100617200938.GB25977@kroah.com \
    --to=greg@kroah.com \
    --cc=alan@linux.intel.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.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