diff options
| author | Felipe Balbi <[email protected]> | 2016-07-29 03:17:58 +0300 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2016-08-10 14:15:57 +0300 |
| commit | c7de573471832dff7d31f0c13b0f143d6f017799 (patch) | |
| tree | 3ca47cf8a8235647ba051e40576a6ec988f692c7 /kernel/bpf/arraymap.c | |
| parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
usb: dwc3: gadget: increment request->actual once
When using SG lists, we would end up setting
request->actual to:
num_mapped_sgs * (request->length - count)
Let's fix that up by incrementing request->actual
only once.
Cc: <[email protected]>
Reported-by: Brian E Rogers <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions