diff options
| author | Florian Tobias Schandinat <[email protected]> | 2009-09-22 16:47:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-23 07:39:51 -0700 |
| commit | bc6932bb4a25ced97c4f201874573e6097237b78 (patch) | |
| tree | f7bc89b68a935d1951c086aa692fd62319b420b8 /scripts | |
| parent | 09cf11806e4b4be92af76253ff9834c48b416129 (diff) | |
viafb: fix ioremap_nocache error handling
Correct the returned error code for remapping the video framebuffer.
Introduce error handling for remapping MMIO register address space to
avoid a NULL pointer dereference. Disable hardware acceleration if
remapping MMIO register address space failed as those registers are only
used for hardware acceleration.
Signed-off-by: Florian Tobias Schandinat <[email protected]>
Cc: Scott Fang <[email protected]>
Cc: Joseph Chan <[email protected]>
Cc: Harald Welte <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions