aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2018-06-20 13:03:58 +0000
committerThierry Reding <[email protected]>2018-07-09 08:33:45 +0000
commit5265f0338bc0feec6c0d544dfe005dec1a93cb93 (patch)
tree207c3c849a78c3f20cb879794cc774477588f91c /fs/btrfs/dev-replace.c
parentgpu: host1x: Check whether size of unpin isn't 0 (diff)
downloadkernel-5265f0338bc0feec6c0d544dfe005dec1a93cb93.tar.gz
kernel-5265f0338bc0feec6c0d544dfe005dec1a93cb93.zip
drm/tegra: Fix comparison operator for buffer size
Here we are checking for the buffer length, not an offset for writing to, so using > is correct. The current code incorrectly rejects a command buffer ending at the memory buffer's end. Signed-off-by: Mikko Perttunen <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions