mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 18:30:55 +07: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…
Reference in New Issue
Block a user