From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751155AbdAURah (ORCPT ); Sat, 21 Jan 2017 12:30:37 -0500 Received: from mga11.intel.com ([192.55.52.93]:15871 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbdAURag (ORCPT ); Sat, 21 Jan 2017 12:30:36 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,265,1477983600"; d="scan'208";a="925150550" Date: Sun, 22 Jan 2017 01:38:20 +0800 From: kbuild test robot To: Sven Schmidt <4sschmid@informatik.uni-hamburg.de> Cc: kbuild-all@01.org, akpm@linux-foundation.org, bongkyu.kim@lge.com, rsalvaterra@gmail.com, sergey.senozhatsky@gmail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, anton@enomsg.org, ccross@android.com, keescook@chromium.org, tony.luck@intel.com, phillip@squashfs.org.uk, Sven Schmidt <4sschmid@informatik.uni-hamburg.de> Subject: Re: [PATCH 1/4] lib: Update LZ4 compressor module Message-ID: <201701220138.lulmlSvI%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485011351-7463-2-git-send-email-4sschmid@informatik.uni-hamburg.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sven, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc4 next-20170120] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sven-Schmidt/Update-LZ4-compressor-module/20170121-231418 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': unknown attribute >> lib/lz4/lz4_decompress.c:521:21: sparse: incompatible types for operation (>) lib/lz4/lz4_decompress.c:521:21: left side has type unsigned long [usertype] *src_len lib/lz4/lz4_decompress.c:521:21: right side has type int vim +521 lib/lz4/lz4_decompress.c 505 return -1; 506 } 507 EXPORT_SYMBOL(lz4_decompress_unknownoutputsize); 508 509 int lz4_decompress(const unsigned char *src, size_t *src_len, 510 unsigned char *dest, size_t actual_dest_len) { 511 *src_len = LZ4_decompress_fast(src, dest, (int)actual_dest_len); 512 513 /* 514 * Prior lz4_decompress will return 515 * 0 for success and a negative result for error 516 * new LZ4_decompress_fast returns 517 * - the length of data read on success 518 * - and also a negative result on error 519 * meaning when result > 0, we just return 0 here 520 */ > 521 if (src_len > 0) 522 return 0; 523 else 524 return -1; 525 } 526 EXPORT_SYMBOL(lz4_decompress); 527 528 MODULE_LICENSE("Dual BSD/GPL"); 529 MODULE_DESCRIPTION("LZ4 decompressor"); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation