Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110129
b: refs/heads/master
c: 0865086
h: refs/heads/master
i:
  110127: f50a8d0
v: v3
  • Loading branch information
David Winn authored and Linus Torvalds committed Oct 2, 2008
1 parent 42897b7 commit edb780f
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: 550ac958791399266c20e15e8048cd12bfce08ae
refs/heads/master: 08650869e0ec581f8d88cfdb563d37f5383abfe2
2 changes: 1 addition & 1 deletion trunk/drivers/video/console/fbcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static inline int mono_col(const struct fb_info *info)
__u32 max_len;
max_len = max(info->var.green.length, info->var.red.length);
max_len = max(info->var.blue.length, max_len);
return ~(0xfff << (max_len & 0xff));
return (~(0xfff << max_len)) & 0xff;
}

static inline int attr_col_ec(int shift, struct vc_data *vc,
Expand Down

0 comments on commit edb780f

Please sign in to comment.