aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-02-28 12:23:21 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-02-29 00:16:12 +0100
commitabdd768e9ce18142c376188bfca4357ba489afb3 (patch)
tree659e607f71de4bad2620dcfa774098787462e1d4 /drivers/gpu/drm/i915/display/intel_dp_mst.c
parentdrm/client: Dual licence the file in GPL-2 and MIT (diff)
downloadlinux-dev-abdd768e9ce18142c376188bfca4357ba489afb3.tar.xz
linux-dev-abdd768e9ce18142c376188bfca4357ba489afb3.zip
drm: prevent a harmless integer overflow in drm_legacy_sg_alloc()
There is an integer overflow when we round up to PAGE_SIZE, but it's harmless because we never re-use "request->size" for anything meaningful. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200228092321.axulddmkxrujkmas@kili.mountain
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions