From: Stefan Richter Date: Sun, 23 Jul 2006 20:18:00 +0000 (+0200) Subject: ieee1394: sbp2: more checks of status block X-Git-Tag: v2.6.19-rc1~644^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6065772d54a3b994b9b5d3df6413ec6a1c8c2ec1;p=pandora-kernel.git ieee1394: sbp2: more checks of status block - Add checks for the (very unlikely) cases that the target writes too little or too much status data or writes unsolicited status. - Indicate that these and similar conditions are unlikely(). - Check the 'resp' and 'sbp_status' fields for possible failure status. - Slightly optimize access macros for the status block bitfields. - Unify a few related log messages. TODO: Check if 'src'==1, then withhold the respective ORB from reuse until status for any subsequent ORB was received. This is an old bug whose fix requires more complex command queue handling. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed