From: Andy Grover Date: Tue, 19 May 2015 21:44:40 +0000 (-0700) Subject: target: Move passthrough CDB parsing into a common function X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bfea53b5c936d706d0bf60ec218fa72cde77121;p=pandora-kernel.git target: Move passthrough CDB parsing into a common function Aside from whether they handle BIDI ops or not, parsing of the CDB by kernel and user SCSI passthrough modules should be identical. Move this into a new passthrough_parse_cdb() and call it from tcm-pscsi and tcm-user. Reported-by: Christoph Hellwig Reviewed-by: Ilias Tsitsimpis Signed-off-by: Andy Grover Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed