diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-11 00:38:23 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-11 02:34:05 +0400 |
commit | a1e58bbdc969c3fe60addca7f2729779d22a83c1 (patch) | |
tree | c8b94e446e4e4298be6c43d0fbff94ed6e60c030 /lib/lzo/lzo1x_decompress.c | |
parent | f17520e1f19172057328e50ffed01a42534921e9 (diff) | |
download | linux-a1e58bbdc969c3fe60addca7f2729779d22a83c1.tar.xz |
lzo: fix typo in decompressor
Shift of a LE value seems strange, probably meant to shift the cpu-order
variable as in the prvious section of the switch statement.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lzo/lzo1x_decompress.c')
-rw-r--r-- | lib/lzo/lzo1x_decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lzo/lzo1x_decompress.c b/lib/lzo/lzo1x_decompress.c index 9dc7056e5520..77f0f9b775a9 100644 --- a/lib/lzo/lzo1x_decompress.c +++ b/lib/lzo/lzo1x_decompress.c @@ -158,7 +158,7 @@ match: t += 7 + *ip++; } m_pos -= le16_to_cpu(get_unaligned( - (const unsigned short *)ip) >> 2); + (const unsigned short *)ip)) >> 2; ip += 2; if (m_pos == op) goto eof_found; |