diff options
| author | Stephane Grosjean <[email protected]> | 2014-11-28 14:08:48 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2014-12-06 19:11:18 +0100 |
| commit | dc50ddcd4c58a5a0226038307d6ef884bec9f8c2 (patch) | |
| tree | 167b64ab65c8d20e118a2d6a11bc95ccd507c7cd /fs/jbd/commit.c | |
| parent | f2a01517f2a1040a0b156f171a7cefd748f2fd03 (diff) | |
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 <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions