From: Stefan Richter Date: Sat, 12 Jun 2010 18:29:07 +0000 (+0200) Subject: firewire: drop sizeof expressions from some request size arguments X-Git-Tag: v2.6.36-rc1~490^2^3~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e847cc832bab50aad939a0c30414cd986637564d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed