diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-10 20:38:23 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-10 22:34:05 (GMT) |
commit | a1e58bbdc969c3fe60addca7f2729779d22a83c1 (patch) | |
tree | c8b94e446e4e4298be6c43d0fbff94ed6e60c030 | |
parent | f17520e1f19172057328e50ffed01a42534921e9 (diff) | |
download | linux-fsl-qoriq-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>
-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 9dc7056..77f0f9b 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; |