• Andrew Morton's avatar
    ERROR: that open brace { should be on the previous line · 6ca15ba2
    Andrew Morton authored
    #184: FILE: lib/decompress_unlzo.c:48:
    +static const unsigned char lzop_magic[] =
    +	{ 0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a };
    
    WARNING: line over 80 characters
    #254: FILE: lib/decompress_unlzo.c:118:
    +		error("Both input pointer and fill function provided, don't know what to do");
    
    WARNING: line over 80 characters
    #259: FILE: lib/decompress_unlzo.c:123:
    +		error("NULL input pointer and missing position pointer or fill function");
    
    WARNING: line over 80 characters
    #313: FILE: lib/decompress_unlzo.c:177:
    +		r = lzo1x_decompress_safe((u8 *) in_buf, src_len, out_buf, &tmp);
    
    total: 1 errors, 3 warnings, 291 lines checked
    
    ./patches/lib-add-support-for-lzo-compressed-kernels.patch has style problems, please review.  If any of these errors
    are false positives report them to the maintainer, see
    CHECKPATCH in MAINTAINERS.
    
    Please run checkpatch prior to sending patches
    
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Wu Zhangjin <wuzhangjin@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    6ca15ba2
decompress_unlzo.c 4.76 KB