aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlex Williamson <[email protected]>2016-06-01 03:25:52 +0000
committerAlex Williamson <[email protected]>2016-06-01 03:25:52 +0000
commitce7585f3c4d76bca1dff4b66ae1ea32552954f9e (patch)
treebdaa94825fb400c596b5ddac362d55c0f25680fe /fs/jbd2/commit.c
parentvfio/type1: Fix build warning (diff)
downloadkernel-ce7585f3c4d76bca1dff4b66ae1ea32552954f9e.tar.gz
kernel-ce7585f3c4d76bca1dff4b66ae1ea32552954f9e.zip
vfio/pci: Allow VPD short read
The size of the VPD area is not necessarily 4-byte aligned, so a pci_vpd_read() might return less than 4 bytes. Zero our buffer and accept anything other than an error. Intel X710 NICs exercise this. Fixes: 4e1a635552d3 ("vfio/pci: Use kernel VPD access functions") Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions