drm/komeda: Off by one in komeda_fb_get_pixel_addr()
The > should be >= to avoid an off by one bug. Fixes: c46c24bb ("drm/komeda: Add komeda_framebuffer") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NJames Qian Wang (Arm Technology China) <james.qian.wang@arm.com> Signed-off-by: NLiviu Dudau <liviu.dudau@arm.com>
Showing
想要评论请 注册 或 登录