aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-10-18 12:02:50 +0200
committerMaxime Ripard <[email protected]>2018-10-19 11:50:25 +0200
commite84cb605e02f1b3d0aee8d7157419cd8aaa06038 (patch)
treea479bb12e9d290e8f14da3402ad48fcabf9cf6d0 /drivers/fpga/fpga-bridge.c
parent4364bcb2cd21d042bde4776448417ddffbc54045 (diff)
drm/sun4i: Fix an ulong overflow in the dotclock driver
The calculated ideal rate can easily overflow an unsigned long, thus making the best div selection buggy as soon as no ideal match is found before the overflow occurs. Fixes: 4731a72df273 ("drm/sun4i: request exact rates to our parents") Cc: <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions