lkml.org 
[lkml]   [2008]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH/RFC 1/8] crypto: testmgr - Correct comment about deflate parameters
    From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

    The comment for the deflate test vectors says the winbits parameter is 11,
    while the deflate module actually uses -11 (a negative window bits parameter
    enables the raw deflate format instead of the zlib format).
    Correct this, to avoid confusion about the format used.

    Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
    ---
    crypto/testmgr.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/crypto/testmgr.h
    +++ b/crypto/testmgr.h
    @@ -8349,7 +8349,7 @@ struct comp_testvec {

    /*
    * Deflate test vectors (null-terminated strings).
    - * Params: winbits=11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
    + * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
    */
    #define DEFLATE_COMP_TEST_VECTORS 2
    #define DEFLATE_DECOMP_TEST_VECTORS 2
    --
    With kind regards,

    Geert Uytterhoeven
    Software Architect

    Sony Techsoft Centre Europe
    The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

    Phone: +32 (0)2 700 8453
    Fax: +32 (0)2 700 8622
    E-mail: Geert.Uytterhoeven@sonycom.com
    Internet: http://www.sony-europe.com/

    A division of Sony Europe (Belgium) N.V.
    VAT BE 0413.825.160 · RPR Brussels
    Fortis · BIC GEBABEBB · IBAN BE41293037680010

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2008-12-17 17:47    [W:0.024 / U:0.372 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site