Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139277
b: refs/heads/master
c: 327fc87
h: refs/heads/master
i:
  139275: 846cad5
v: v3
  • Loading branch information
Andres Salomon authored and Linus Torvalds committed Apr 1, 2009
1 parent bfcfac7 commit f97de8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc880a715782fe31116284d90e0b5bfb1411535b
refs/heads/master: 327fc8752a3c08fc7dc7d382883e65aad2f03bde
4 changes: 3 additions & 1 deletion trunk/drivers/video/tgafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ tgafb_register(struct device *dev)
if (register_framebuffer(info) < 0) {
printk(KERN_ERR "tgafb: Could not register framebuffer\n");
ret = -EINVAL;
goto err1;
goto err2;
}

if (tga_bus_pci) {
Expand All @@ -1682,6 +1682,8 @@ tgafb_register(struct device *dev)

return 0;

err2:
fb_dealloc_cmap(&info->cmap);
err1:
if (mem_base)
iounmap(mem_base);
Expand Down

0 comments on commit f97de8d

Please sign in to comment.