diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-12-05 22:44:42 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 20:56:37 +0100 |
commit | 1f3125af8ed7410cc0ebcc0acd59bbfc1ae0057a (patch) | |
tree | 3e0cd754d86b8780b164bd507564fd2355c7db29 /drivers/block/DAC960.c | |
parent | bf8e3355ec8f4e472f9841e94203cd759b45226e (diff) |
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>
Diffstat (limited to 'drivers/block/DAC960.c')
0 files changed, 0 insertions, 0 deletions