From: Christoph Hellwig Date: Thu, 23 Apr 2015 11:03:24 +0000 (+0530) Subject: megaraid_sas : move endianness conversion into caller of megasas_get_seq_num X-Git-Tag: omap-for-v4.3/legacy-v2-signed~180^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48100b0ed0e5a34873828c0cdae8708804d57ee5;p=pandora-kernel.git megaraid_sas : move endianness conversion into caller of megasas_get_seq_num Converting structure fields in place is always a bad idea, and in this case by moving it into the only caller we also only have to do a single byte swap as most fields of this structure are never used. Signed-off-by: Christoph Hellwig Signed-off-by: Sumit Saxena Reviewed-by: Hannes Reinecke Reviewed-by: Tomas Henzl Signed-off-by: James Bottomley --- Reading git-diff-tree failed