All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@dsl2.external.hp.com>
To: Bruno Vidal <bruno_vidal@hpfrcu03.france.hp.com>
Cc: "parisc-linux@lists.parisc-linux.org"
	<parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] Pb with ioctl and 64bits
Date: Tue, 11 Jun 2002 15:47:09 -0600	[thread overview]
Message-ID: <20020611214710.1330F4856@dsl2.external.hp.com> (raw)
In-Reply-To: Message from Bruno Vidal <bruno_vidal@hpfrcu03.france.hp.com> of "Tue, 11 Jun 2002 13:40:49 +0200." <3D05E1C1.DF69D5B@admin.france.hp.com>

Bruno Vidal wrote:
> 	Haaaaa, I've succeded at the end. Now ioctls are working fine.

Excellent!

> Sorry, I beg your pardon, the probleme was coming from the manner I
> declare my ioctls cmds. With 64bits kernel it is:
> #define DIOSDUMPDEV32             _IOW('p',0xa0,unsigned int) 
> And in user space it is (32 bits):
> #define DIOSDUMPDEV32             _IOW('p',0xa0,unsigned long)

shouldn't both kernel and user space use the same definition?
(ie unsigned int)
If they don't, I expect the ioctl wrapper to do some work.

grant

      reply	other threads:[~2002-06-11 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-10 14:52 [parisc-linux] Pb with ioctl and 64bits Bruno Vidal
2002-06-10 15:24 ` Randolph Chung
2002-06-11  5:52   ` Bruno Vidal
2002-06-11 11:40     ` Bruno Vidal
2002-06-11 21:47       ` Grant Grundler [this message]

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=20020611214710.1330F4856@dsl2.external.hp.com \
    --to=grundler@dsl2.external.hp.com \
    --cc=bruno_vidal@hpfrcu03.france.hp.com \
    --cc=parisc-linux@lists.parisc-linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.