OpenCloudOS-Kernel/drivers/firewire
Stefan Richter e847cc832b firewire: drop sizeof expressions from some request size arguments
In case of fw_card_bm_work()'s lock request, the present sizeof
expression is going to be wrong if somebody changes the fw_card's DMA
scratch buffer's size in the future.

In case of quadlet write requests, sizeof(u32) is just silly; it's 4.

In case of SBP-2 ORB pointer write requests, 8 is arguably quicker to
understand as the correct and only possible value than
sizeof(some_datum).

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2010-06-19 13:01:40 +02:00
..
Kconfig firewire, ieee1394: update Kconfig help 2009-12-29 19:58:17 +01:00
Makefile firewire: net: add Kconfig item, rename driver 2009-06-14 14:26:29 +02:00
core-card.c firewire: drop sizeof expressions from some request size arguments 2010-06-19 13:01:40 +02:00
core-cdev.c firewire: add read_csr_reg driver callback 2010-06-10 08:24:35 +02:00
core-device.c firewire: core: align driver match with modalias 2010-03-24 22:01:47 +01:00
core-iso.c firewire: core: fw_iso_resource_manage: fix error handling 2010-03-15 14:29:44 +01:00
core-topology.c firewire: allocate broadcast channel in hardware 2010-06-10 08:40:49 +02:00
core-transaction.c firewire: 'add CSR_... support' addendum 2010-06-19 13:01:40 +02:00
core.h firewire: allocate broadcast channel in hardware 2010-06-10 08:40:49 +02:00
net.c firewire: net: fix panic in fwnet_write_complete 2010-02-01 21:51:28 +01:00
ohci.c firewire: 'add CSR_... support' addendum 2010-06-19 13:01:40 +02:00
ohci.h firewire: add CSR cmstr support 2010-06-10 08:36:37 +02:00
sbp2.c firewire: drop sizeof expressions from some request size arguments 2010-06-19 13:01:40 +02:00