commit | b65d6040e3a7cd75d9287f7ddfd115e85fde4b44 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Thu Mar 03 09:59:01 2011 -0800 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Wed Mar 09 17:04:12 2011 +0000 |
tree | 398b234ea6b9501a2e9ab271c687787fa6befaf8 | |
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>