linux/drivers/ieee1394
Petr Vandrovec ee9be42596 ieee1394: raw1394: Fix read() for 32bit userland on 64bit kernel
read() always failed with -EFAULT.  This was happening due to
raw1394_compat_read copying data to wrong location - access_ok always
failed as 'r' is kernel address, not user.  Whole function just tried to
copy data from 'r' to 'r', which is not good.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Acked-by: Dan Dennedy <dan@dennedy.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (split into 3 patches)
2007-07-10 00:07:37 +02:00
..
Kconfig Merge branch 'juju' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 2007-05-10 13:30:08 -07:00
Makefile the scheduled IEEE1394_OUI_DB removal 2007-02-08 20:57:43 +01:00
config_roms.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
config_roms.h ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
csr.c ieee1394: usecs_to_jiffies takes unsigned int argument 2006-12-07 21:29:08 +01:00
csr.h
csr1212.c ieee1394: csr1212: log if devices have CRC errors in their ROM 2007-04-30 00:00:29 +02:00
csr1212.h ieee1394: csr1212: coding style 2007-04-30 00:00:28 +02:00
dma.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dma.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dv1394-private.h
dv1394.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
dv1394.h
eth1394.c ieee1394: fix to ether1394_tx in ether1394.c 2007-06-16 12:43:20 +02:00
eth1394.h ieee1394: eth1394: handle tlabel exhaustion 2007-05-27 23:20:59 +02:00
highlevel.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
highlevel.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
hosts.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
hosts.h ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
ieee1394-ioctl.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
ieee1394.h
ieee1394_core.c ieee1394: unexport highlevel_host_reset 2007-04-30 00:00:31 +02:00
ieee1394_core.h ieee1394: add comments in struct hpsb_packet 2007-07-10 00:07:36 +02:00
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: send async streams at S100 2007-04-30 00:00:30 +02:00
ieee1394_transactions.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ieee1394_types.h
iso.c ieee1394: iso.c needs sched.h 2007-04-30 00:00:29 +02:00
iso.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
nodemgr.c ieee1394: sbp2: offer SAM-conforming target port ID in sysfs 2007-05-31 21:40:13 +02:00
nodemgr.h ieee1394: sbp2: offer SAM-conforming target port ID in sysfs 2007-05-31 21:40:13 +02:00
ohci1394.c ieee1394: ohci1394: remove dead CONFIG variable 2007-07-10 00:07:36 +02:00
ohci1394.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
pcilynx.c i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
pcilynx.h
raw1394-private.h ieee1394: raw1394: add comments on lock usage 2006-12-07 21:28:06 +01:00
raw1394.c ieee1394: raw1394: Fix read() for 32bit userland on 64bit kernel 2007-07-10 00:07:37 +02:00
raw1394.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
sbp2.c ieee1394: sbp2: offer SAM-conforming target port ID in sysfs 2007-05-31 21:40:13 +02:00
sbp2.h ieee1394: sbp2: remove unnecessary alignments of struct members 2007-04-30 00:00:27 +02:00
video1394.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
video1394.h