diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-03-03 09:59:01 -0800 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-03-09 17:04:12 +0000 |
commit | b65d6040e3a7cd75d9287f7ddfd115e85fde4b44 (patch) | |
tree | 398b234ea6b9501a2e9ab271c687787fa6befaf8 /drivers/video/fb_defio.c | |
parent | a625e305edd8e3ac08888a9b52981205b68cdb0e (diff) |
video via: fix iomem access
This driver is not respecting the iomem memory space restrictions
and does direct access. This works on x86 but is non-portable and
should not be done. Converted memcpy() of 2 to readw.
Last post increment of romptr was unnecessary since pointer never
used after that.
Found by sparse, compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/fb_defio.c')
0 files changed, 0 insertions, 0 deletions