git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'core/rcu' into core/rcu-for-linus
[safe/jmp/linux-2.6]
/
lib
/
ts_bm.c
diff --git
a/lib/ts_bm.c
b/lib/ts_bm.c
index
d90822c
..
4a7fce7
100644
(file)
--- a/
lib/ts_bm.c
+++ b/
lib/ts_bm.c
@@
-63,7
+63,7
@@
static unsigned int bm_find(struct ts_config *conf, struct ts_state *state)
struct ts_bm *bm = ts_config_priv(conf);
unsigned int i, text_len, consumed = state->offset;
const u8 *text;
- int shift = bm->patlen, bs;
+ int shift = bm->patlen
- 1
, bs;
for (;;) {
text_len = conf->get_next_block(consumed, &text, conf, state);