]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2
authorAleksandr Burakov <a.burakov@rosalinux.ru>
Fri, 1 Mar 2024 11:35:43 +0000 (14:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 11:07:39 +0000 (13:07 +0200)
commit89f0cf6ac620c54bc3df2eec1d1d4f239506525d
tree885562dfd2d8e168cf4334038520ac8c713f1831
parent4cd44fd34545b243799095c1f4b179663448c520
fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2

[ Upstream commit bc87bb342f106a0402186bcb588fcbe945dced4b ]

There are some actions with value 'tmp' but 'dst_addr' is checked instead.
It is obvious that a copy-paste error was made here and the value
of variable 'tmp' should be checked here.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Aleksandr Burakov <a.burakov@rosalinux.ru>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/via/accel.c