summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/asiliantfb.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-08-25 20:44:12 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-27 11:43:24 +0300
commit59921b239056fb6389a865083284e00ce0518db6 (patch)
tree485d9c910c5a7217bf6ddd41d74063e5b7d4bc5e /drivers/video/fbdev/asiliantfb.c
parentd8ed9e87e6016433b8d178728a5391ea68101bca (diff)
downloadlinux-59921b239056fb6389a865083284e00ce0518db6.tar.xz
matroxfb: fix size of memcpy
hw->DACreg has a size of 80 bytes and MGADACbpp32 has 21. So when memcpy copies MGADACbpp32 to hw->DACreg it copies 80 bytes but only 21 bytes are valid. Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/asiliantfb.c')
0 files changed, 0 insertions, 0 deletions