Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20981
b: refs/heads/master
c: 939205b
h: refs/heads/master
i:
  20979: b4ea006
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Mar 11, 2006
1 parent e48a765 commit ec779bc
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 16afe814a856e271628c5dfb4abbc318ec6b6f5f
refs/heads/master: 939205b27312b7d7c4c55624ba785e554b39ecbb
2 changes: 1 addition & 1 deletion trunk/drivers/video/arcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,11 @@ static ssize_t arcfb_write(struct file *file, const char __user *buf, size_t cou
inode = file->f_dentry->d_inode;
fbidx = iminor(inode);
info = registered_fb[fbidx];
par = info->par;

if (!info || !info->screen_base)
return -ENODEV;

par = info->par;
xres = info->var.xres;
fbmemlength = (xres * info->var.yres)/8;

Expand Down

0 comments on commit ec779bc

Please sign in to comment.