aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2019-02-21 05:12:50 +0000
committerDan Williams <[email protected]>2019-02-21 05:12:50 +0000
commitad428cdb525a97d15c0349fdc80f3d58befb50df (patch)
tree31bebae17f60a5e5a214e135e216fab74e840966 /drivers/fpga/fpga-mgr.c
parentlibnvdimm/pmem: Honor force_raw for legacy pmem regions (diff)
downloadkernel-ad428cdb525a97d15c0349fdc80f3d58befb50df.tar.gz
kernel-ad428cdb525a97d15c0349fdc80f3d58befb50df.zip
dax: Check the end of the block-device capacity with dax_direct_access()
The checks in __bdev_dax_supported() helped mitigate a potential data corruption bug in the pmem driver's handling of section alignment padding. Strengthen the checks, including checking the end of the range, to validate the dev_pagemap, Xarray entries, and sector-to-pfn translation established for pmem namespaces. Acked-by: Jan Kara <[email protected]> Cc: "Darrick J. Wong" <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions