diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-08-25 20:44:12 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-09-27 11:43:24 +0300 |
commit | 59921b239056fb6389a865083284e00ce0518db6 (patch) | |
tree | 485d9c910c5a7217bf6ddd41d74063e5b7d4bc5e /drivers/video/fbdev/asiliantfb.c | |
parent | d8ed9e87e6016433b8d178728a5391ea68101bca (diff) | |
download | linux-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