summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-lzma.c
blob: 95adc8ced3dd0c6c96f35728f2b65ff30150d75d (plain)
1
2
3
4
5
6
7
8
9
10
#include <lzma.h>

int main(void)
{
	lzma_stream strm = LZMA_STREAM_INIT;
	int ret;

	ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED);
	return ret ? -1 : 0;
}
on>
authorCihangir Akturk <cakturk@gmail.com>2016-12-17 19:42:17 +0200
committerJonathan Corbet <corbet@lwn.net>2016-12-27 13:08:42 -0700
commit36f671be1db1b17d3d4ab0c8b47f81ccb1efcb75 (patch)
treed79b8821d94660c65279378b04474e23f2e01b22 /tools/gpio/gpio-hammer.c
parent66115335fbb411365c23349b2fbe7e041eabbaf2 (diff)
Documentation/unaligned-memory-access.txt: fix incorrect comparison operator
In the actual implementation ether_addr_equal function tests for equality to 0 when returning. It seems in commit 0d74c4 it is somehow overlooked to change this operator to reflect the actual function. Signed-off-by: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/gpio/gpio-hammer.c')