diff options
| author | Lei Rao <[email protected]> | 2022-11-29 09:48:11 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-11-30 13:34:17 +0000 |
| commit | a56ea6147facce4ac1fc38675455f9733d96232b (patch) | |
| tree | 385330cd65bbab17d9f89cbe0929ba97e6f1d60e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | ublk_drv: don't forward io commands in reserve order (diff) | |
| download | kernel-a56ea6147facce4ac1fc38675455f9733d96232b.tar.gz kernel-a56ea6147facce4ac1fc38675455f9733d96232b.zip | |
nvme-pci: clear the prp2 field when not used
If the prp2 field is not filled in nvme_setup_prp_simple(), the prp2
field is garbage data. According to nvme spec, the prp2 is reserved if
the data transfer does not cross a memory page boundary, so clear it to
zero if it is not used.
Signed-off-by: Lei Rao <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
