aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2017-05-11 02:38:13 +0000
committerDan Williams <[email protected]>2017-05-11 04:46:55 +0000
commite84b83b9ee2187817cf895471675f1ccdf64cd53 (patch)
tree5cfe0788dff1536475ce68c9c2241327e545d8b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentlibnvdimm, btt: ensure that initializing metadata clears poison (diff)
downloadkernel-e84b83b9ee2187817cf895471675f1ccdf64cd53.tar.gz
kernel-e84b83b9ee2187817cf895471675f1ccdf64cd53.zip
filesystem-dax: fix broken __dax_zero_page_range() conversion
The conversion of __dax_zero_page_range() to 'struct dax_operations' caused it to frequently fail. The mistake was treating the @size parameter as a dax mapping length rather than just a length of the clear_pmem() operation. The dax mapping length is assumed to be hard coded as PAGE_SIZE. Without this fix any page unaligned zeroing request will trigger a -EINVAL return from bdev_dax_pgoff(). Cc: Jan Kara <[email protected]> Cc: Christoph Hellwig <[email protected]> Reported-by: Ross Zwisler <[email protected]> Tested-by: Ross Zwisler <[email protected]> Fixes: cccbce671582 ("filesystem-dax: convert to dax_direct_access()") Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions