Merge tag 'pull-work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / lib / ts_bm.c
index 4cf2500..1f22342 100644 (file)
@@ -80,7 +80,7 @@ static unsigned int bm_find(struct ts_config *conf, struct ts_state *state)
 
                        /* London calling... */
                        DEBUGP("found!\n");
-                       return consumed += (shift-(bm->patlen-1));
+                       return consumed + (shift-(bm->patlen-1));
 
 next:                  bs = bm->bad_shift[text[shift-i]];