Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94139
b: refs/heads/master
c: 2ae09f0
h: refs/heads/master
i:
  94137: ed20a37
  94135: 5ec9894
v: v3
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed Apr 28, 2008
1 parent 6947085 commit b882dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 416e74ea7813597b586eafc24f67779eeb86e12f
refs/heads/master: 2ae09f0da1cd0c8c646edea2e68356e76789461c
6 changes: 4 additions & 2 deletions trunk/drivers/video/pm2fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,10 +1687,12 @@ static int __devinit pm2fb_probe(struct pci_dev *pdev,
if (!err || err == 4)
info->var = pm2fb_var;

if (fb_alloc_cmap(&info->cmap, 256, 0) < 0)
retval = fb_alloc_cmap(&info->cmap, 256, 0);
if (retval < 0)
goto err_exit_both;

if (register_framebuffer(info) < 0)
retval = register_framebuffer(info);
if (retval < 0)
goto err_exit_all;

printk(KERN_INFO "fb%d: %s frame buffer device, memory = %dK.\n",
Expand Down

0 comments on commit b882dbd

Please sign in to comment.