• Andrew Morton's avatar
    ERROR: code indent should use tabs where possible · db812467
    Andrew Morton authored
    #90: FILE: lib/zlib_inflate/inffast.c:250:
    +                    /* minimum length is three */$
    
    ERROR: space prohibited before that close parenthesis ')'
    #97: FILE: lib/zlib_inflate/inffast.c:257:
    +		    if (dist > 2 ) {
    
    WARNING: suspect code indent for conditional statements (24, 28)
    #111: FILE: lib/zlib_inflate/inffast.c:271:
    +			if (dist == 1)
    [...]
    +			    pat16 = (pat16 & 0xff) | ((pat16 & 0xff ) << 8);
    
    ERROR: space prohibited before that close parenthesis ')'
    #113: FILE: lib/zlib_inflate/inffast.c:273:
    +			    pat16 = (pat16 & 0xff) | ((pat16 & 0xff ) << 8);
    
    ERROR: space prohibited before that close parenthesis ')'
    #115: FILE: lib/zlib_inflate/inffast.c:275:
    +			    pat16 = (pat16 & 0xff00) | ((pat16 & 0xff00 ) >> 8);
    
    total: 4 errors, 1 warnings, 93 lines checked
    
    ./patches/zlib-optimize-inffast-when-copying-direct-from-output.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: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    db812467
inffast.c 12.5 KB