aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2016-01-29 12:44:29 +0000
committerDave Airlie <[email protected]>2016-02-05 05:23:48 +0000
commit4d6a10da79fddcf7460299ab390da74ef2b592f6 (patch)
tree1a09af919fb8ab10db0d84a0b1440883ee89f913 /fs/btrfs/dev-replace.c
parentdrm/mst: Don't ignore the MST PBN self-test result (diff)
downloadkernel-4d6a10da79fddcf7460299ab390da74ef2b592f6.tar.gz
kernel-4d6a10da79fddcf7460299ab390da74ef2b592f6.zip
drm/mst: Add range check for max_payloads during init
max_payload is limited by the space we have in drm_dp_mst_topology_mgr::vcpi_mask,payload_mask. We need to track max_payloads+1 IDs in these masks, see drm_dp_mst_assign_payload_id(). Add a sanity check for this. Caught by coverity. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: David Weinehall <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions