summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-07-17 16:25:40 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2023-07-29 22:13:51 +0300
commit5f0d984053f74983a287100a9519b2fabb785fb5 (patch)
tree0d3c0d7b9171bf8780a0d6c4af03e151c66fc45f /include/linux/timerqueue.h
parentc9155a3c31400afacd294c3f6c2458d4150c4fa0 (diff)
downloadlinux-5f0d984053f74983a287100a9519b2fabb785fb5.tar.xz
drm/armada: Fix off-by-one error in armada_overlay_get_property()
As ffs() returns one more than the index of the first bit set (zero means no bits set), the color key mode value is shifted one position too much. Fix this by using FIELD_GET() instead. Fixes: c96103b6c49ff9a8 ("drm/armada: move colorkey properties into overlay plane state") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/a4d779d954a7515ddbbf31cb0f0d8184c0e7c879.1689600265.git.geert+renesas@glider.be
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions