linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* (Reminder) Re: linuxppc-2.5 (rsync mvista) -- drivers/input/evdev.c:243: error: invalid lvalue in asm statement
@ 2003-08-13 19:57 Miles Lane
  0 siblings, 0 replies; only message in thread
From: Miles Lane @ 2003-08-13 19:57 UTC (permalink / raw)
  To: linuxppc-dev


Paul Mackerras writes:

> Benjamin Herrenschmidt writes:
>
> > It's still totally wrong to access userland with a variable sized
> > data since my understanding is that userland doesn't know what size
> > the kernel will use for access here, thus it works for little endian
> > but not big endian (well... afaik).
>
> The userland data isn't variable-sized; it's an int, and it is
> accessed as an int because the pointer given to get_user is int *.
> The problem is (as Franz pointed out) the use of (a? b: c) as an
> lvalue.
>
> Incidentally there is a bug in the INPUT_KEYCODE macro: the second
> (dev->keycodesize == 1) should be == 2 instead (the condition for the
> u16 case).

This problem is still around in linuxppc-2.5.

	Miles

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-13 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-13 19:57 (Reminder) Re: linuxppc-2.5 (rsync mvista) -- drivers/input/evdev.c:243: error: invalid lvalue in asm statement Miles Lane

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).