From: Stephane Grosjean Date: Fri, 5 Dec 2014 13:11:09 +0000 (+0100) Subject: can: peak_usb: fix multi-byte values endianess X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~10^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bc24f67abda56e486735706be6a4dea60fdb4c;p=pandora-kernel.git can: peak_usb: fix multi-byte values endianess This patch fixes the endianess definition as well as the usage of the multi-byte fields in the data structures exchanged with the PEAK-System USB adapters. By fixing the endianess, this patch also fixes the wrong usage of a 32-bits local variable for handling the error status 16-bits field, in function pcan_usb_pro_handle_error(). Signed-off-by: Stephane Grosjean Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed