Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1e58bbd authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Acked-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f17520e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ int lzo1x_decompress_safe(const unsigned char *in, size_t in_len,
					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;