linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@hpl.hp.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Re: [PATCH] remove duplicated ioctl entries in compat_ioctl.c
Date: Fri, 27 Jul 2007 14:58:47 -0700	[thread overview]
Message-ID: <20070727215847.GA17991@bougret.hpl.hp.com> (raw)
In-Reply-To: <20070727191053.GA7572@tuxdriver.com>

On Fri, Jul 27, 2007 at 03:10:54PM -0400, John W. Linville wrote:
> > 
> > 	Actually, you are wrong, and Masakazu is right. All those
> > ioctls contains a pointer and should go through the pointer
> > conversion.
> 
> Masakazu replied in agreement that the COMPATIBLE_IOCTL entries are
> the effective ones i.e. the code currently uses those entries and
> the others are currently just wasting space.

	No, he did not. This is what he said :
-----------------------------------------------
We can keep COMPATIBLE_IOCTL entries *if* the userland apps could work
around iw_point.pointer issue for these ioctls.
-----------------------------------------------
	The second part of the sentence is the most important one. We
don't want the apps to have to deal with this issue, therefore the
COMPATIBLE_IOCTL entries are wrong.

> >       The reason why Masakazu sent that patch is that he actually
> > stumbled on the problem and tested it.
> 
> The only problem stated is the not-quite-duplicate entries.

	You have to take account that Masakazu is not American. He did
not report a bug, he sent you a patch fixing the issue. And I want to
thank him for spending the time to track don this issue and report it.

> Perhaps the HANDLE_IOCTL entries are indeed the correct and intended
> ones.  You seem to be indicating so.

	Yes. We had a discussion about it a few month ago with
Johannes Berg which title was "wireless extensions vs. 64-bit
architectures". If you go back to that discussion, you will realise
that Johannes was clearly saying that the HANDLE_IOCTL entries are the
correct one.
		http://marc.info/?l=linux-wireless&m=117449937110479&w=2
	It seems that the fix we did at that point was not complete,
i.e. we added the missing HANDLE_IOCTL entries but forgot to remove
the corresponding COMPATIBLE_IOCTL entries. It seems that different
compiler do different things when there are duplicate.

> If this fixes a bug, then fine.  If we are trading the one "duplicate"
> entry we have been using for one that hasn't been in use, it doesn't
> make much sense.

	As I said earlier, if you want Wireless Extensions to keep
working, please cc me.

	Jean

  reply	other threads:[~2007-07-27 21:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 17:13 Re: [PATCH] remove duplicated ioctl entries in compat_ioctl.c Jean Tourrilhes
2007-07-27 19:10 ` John W. Linville
2007-07-27 21:58   ` Jean Tourrilhes [this message]
2007-07-30 12:02     ` Masakazu Mokuno
2007-07-30 14:47       ` John W. Linville
2007-07-30 18:37         ` Jean Tourrilhes
2007-07-31  4:45           ` Masakazu Mokuno
2007-07-31 16:55             ` Jean Tourrilhes
2007-08-07  7:41         ` Masakazu Mokuno
2007-08-07 17:51           ` Jean Tourrilhes
2007-09-12  4:36           ` Masakazu Mokuno
2007-09-12 13:43             ` John W. Linville

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=20070727215847.GA17991@bougret.hpl.hp.com \
    --to=jt@hpl.hp.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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;
as well as URLs for NNTP newsgroup(s).