Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217569
b: refs/heads/master
c: 66f1991
h: refs/heads/master
i:
  217567: 14de0c0
v: v3
  • Loading branch information
Andy Shevchenko authored and Linus Torvalds committed Oct 26, 2010
1 parent 4213b5f commit cbf6c98
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1fa7e5473cba543b02a396ced9e407f614bb117c
refs/heads/master: 66f1991bc2357436498ac990302b6f5bf403d7ef
3 changes: 1 addition & 2 deletions trunk/lib/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ EXPORT_SYMBOL(bitmap_find_next_zero_area);

#define CHUNKSZ 32
#define nbits_to_hold_value(val) fls(val)
#define unhex(c) (isdigit(c) ? (c - '0') : (toupper(c) - 'A' + 10))
#define BASEDEC 10 /* fancier cpuset lists input in decimal */

/**
Expand Down Expand Up @@ -466,7 +465,7 @@ int __bitmap_parse(const char *buf, unsigned int buflen,
if (chunk & ~((1UL << (CHUNKSZ - 4)) - 1))
return -EOVERFLOW;

chunk = (chunk << 4) | unhex(c);
chunk = (chunk << 4) | hex_to_bin(c);
ndigits++; totaldigits++;
}
if (ndigits == 0)
Expand Down

0 comments on commit cbf6c98

Please sign in to comment.