2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/drivers/firewire
Stefan Richter 1f3125af8e firewire: cdev: tcodes input validation
The behaviour of fw-transaction.c::fw_send_request is ill-defined for
any other tcodes than read/ write/ lock request tcodes.  Therefore
prevent requests with wrong tcodes from entering the transaction layer.

Maybe fw_send_request should check them itself, but I am not inclined to
change it and fw_fill_request from void-valued functions to ones which
return error codes and pass those up.  Besides, maybe fw_send_request is
going to support one more tcode than ioctl_send_request in the future
(TCODE_STREAM_DATA).

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-03-24 20:56:37 +01:00
..
fw-card.c firewire: core: Remove card from list of cards when enable fails 2009-02-01 11:17:24 +01:00
fw-cdev.c firewire: cdev: tcodes input validation 2009-03-24 20:56:37 +01:00
fw-device.c firewire: convert client_list_lock to mutex 2009-03-24 20:56:37 +01:00
fw-device.h firewire: convert client_list_lock to mutex 2009-03-24 20:56:37 +01:00
fw-iso.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
fw-ohci.c firewire: Include iso timestamp in headers when header_size > 4 2009-03-24 20:56:35 +01:00
fw-ohci.h firewire: fw-ohci: log regAccessFail events 2008-04-18 17:55:34 +02:00
fw-sbp2.c firewire: sbp2: add workarounds for 2nd and 3rd generation iPods 2009-01-29 20:19:48 +01:00
fw-topology.c firewire: unnecessary BM delay after generation rollover 2009-01-20 19:29:51 +01:00
fw-topology.h firewire: reread config ROM when device reset the bus 2008-04-18 17:55:36 +02:00
fw-transaction.c firewire: fix small memory leak at module removal 2009-01-04 23:50:37 +01:00
fw-transaction.h firewire: unnecessary BM delay after generation rollover 2009-01-20 19:29:51 +01:00
Kconfig firewire: Kconfig help update 2008-08-19 18:47:56 +02:00
Makefile firewire: prefix modules with firewire- instead of fw- 2007-05-27 23:21:01 +02:00