From: Stephane Grosjean Date: Fri, 28 Nov 2014 13:08:48 +0000 (+0100) Subject: can: peak_usb: fix memset() usage X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~10^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc50ddcd4c58a5a0226038307d6ef884bec9f8c2;p=pandora-kernel.git can: peak_usb: fix memset() usage This patchs fixes a misplaced call to memset() that fills the request buffer with 0. The problem was with sending PCAN_USBPRO_REQ_FCT requests, the content set by the caller was thus lost. With this patch, the memory area is zeroed only when requesting info from the device. Signed-off-by: Stephane Grosjean Cc: linux-stable Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed