mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
firewire: Use correct payload pointer when demarshalling incoming requests.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
parent
c889475fb5
commit
6e2e8424d3
@ -575,7 +575,7 @@ allocate_request(struct fw_packet *p)
|
||||
request->ack = p->ack;
|
||||
request->length = length;
|
||||
if (data)
|
||||
memcpy(request->data, p->payload, length);
|
||||
memcpy(request->data, data, length);
|
||||
|
||||
memcpy(request->request_header, p->header, sizeof p->header);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user