linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error
@ 2018-11-09 17:58 Randy Dunlap
  2018-11-09 18:06 ` Gao Xiang
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-11-09 17:58 UTC (permalink / raw)
  To: LKML, Greg Kroah-Hartman
  Cc: kbuild test robot, Gao Xiang, Chao Yu, linux-erofs

From: Randy Dunlap <rdunlap@infradead.org>

EROFS Data Compression support uses LZ4 decompression, so it
should select LZ4_DECOMPRESS to prevent this build error:

drivers/staging/erofs/unzip_vle_lz4.o: In function `z_erofs_unzip_lz4':
drivers/staging/erofs/unzip_vle_lz4.c:18: undefined reference to `LZ4_decompress_safe_partial'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Gao Xiang <gaoxiang25@huawei.com>
Cc: Chao Yu <yuchao0@huawei.com>
Cc: linux-erofs@lists.ozlabs.org
---
 drivers/staging/erofs/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20181109.orig/drivers/staging/erofs/Kconfig
+++ linux-next-20181109/drivers/staging/erofs/Kconfig
@@ -90,6 +90,7 @@ config EROFS_FS_IO_MAX_RETRIES
 config EROFS_FS_ZIP
 	bool "EROFS Data Compresssion Support"
 	depends on EROFS_FS
+	select LZ4_DECOMPRESS
 	help
 	  Currently we support VLE Compression only.
 	  Play at your own risk.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error
  2018-11-09 17:58 [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error Randy Dunlap
@ 2018-11-09 18:06 ` Gao Xiang
  0 siblings, 0 replies; 2+ messages in thread
From: Gao Xiang @ 2018-11-09 18:06 UTC (permalink / raw)
  To: Randy Dunlap, LKML, Greg Kroah-Hartman; +Cc: linux-erofs, kbuild test robot

Hi Randy,

Thanks for taking time, I have sent a patch to Greg fixing this issue. :)
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-testing&id=7962e63a2f4140631ad10d475d96193a3bc8ec2f

Thanks,
Gao Xiang

On 2018/11/10 1:58, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> EROFS Data Compression support uses LZ4 decompression, so it
> should select LZ4_DECOMPRESS to prevent this build error:
> 
> drivers/staging/erofs/unzip_vle_lz4.o: In function `z_erofs_unzip_lz4':
> drivers/staging/erofs/unzip_vle_lz4.c:18: undefined reference to `LZ4_decompress_safe_partial'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kbuild test robot <lkp@intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-09 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 17:58 [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error Randy Dunlap
2018-11-09 18:06 ` Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).