From: Randy Dunlap <rdunlap@infradead.org>
To: LKML <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: kbuild test robot <lkp@intel.com>,
Gao Xiang <gaoxiang25@huawei.com>, Chao Yu <yuchao0@huawei.com>,
linux-erofs@lists.ozlabs.org
Subject: [PATCH] staging: erofs: select LZ4_DECOMPRESS to fix build error
Date: Fri, 9 Nov 2018 09:58:44 -0800 [thread overview]
Message-ID: <e2365d5f-aabb-a631-1338-1e32f8c9bea6@infradead.org> (raw)
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.
next reply other threads:[~2018-11-09 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-09 17:58 Randy Dunlap [this message]
2018-11-09 18:06 ` Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e2365d5f-aabb-a631-1338-1e32f8c9bea6@infradead.org \
--to=rdunlap@infradead.org \
--cc=gaoxiang25@huawei.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=yuchao0@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®