Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1261529 > unrolled thread
| Started by | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| First post | 2015-11-03 15:20 +0100 |
| Last post | 2015-11-06 04:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] raid5-cache: add crc32c Kconfig dependency Arnd Bergmann <arnd@arndb.de> - 2015-11-03 15:20 +0100
Re: [PATCH] raid5-cache: add crc32c Kconfig dependency Neil Brown <neilb@suse.com> - 2015-11-06 04:20 +0100
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Date | 2015-11-03 15:20 +0100 |
| Subject | [PATCH] raid5-cache: add crc32c Kconfig dependency |
| Message-ID | <qqKBk-3MG-17@gated-at.bofh.it> |
The recent change of the raid5-cache code to use crc32c instead
of crc32 causes link errors when CONFIG_LIBCRC32C is disabled:
drivers/built-in.o: In function crc32c'
core.c:(.text+0x1c6060): undefined reference to `crc32c'
This adds an explicit 'select' statement like all other users
of this function do.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 5cb2fbd6ea0d ("raid5-cache: use crc32c checksum")
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 3e01e6fb3424..7913fdcfc849 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -123,6 +123,7 @@ config MD_RAID456
tristate "RAID-4/RAID-5/RAID-6 mode"
depends on BLK_DEV_MD
select RAID6_PQ
+ select LIBCRC32C
select ASYNC_MEMCPY
select ASYNC_XOR
select ASYNC_PQ
--
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/
[toc] | [next] | [standalone]
| From | Neil Brown <neilb@suse.com> |
|---|---|
| Date | 2015-11-06 04:20 +0100 |
| Message-ID | <qrFJf-7sI-3@gated-at.bofh.it> |
| In reply to | #1261529 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Nov 04 2015, Arnd Bergmann wrote:
> The recent change of the raid5-cache code to use crc32c instead
> of crc32 causes link errors when CONFIG_LIBCRC32C is disabled:
>
> drivers/built-in.o: In function crc32c'
> core.c:(.text+0x1c6060): undefined reference to `crc32c'
>
> This adds an explicit 'select' statement like all other users
> of this function do.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 5cb2fbd6ea0d ("raid5-cache: use crc32c checksum")
>
> diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
> index 3e01e6fb3424..7913fdcfc849 100644
> --- a/drivers/md/Kconfig
> +++ b/drivers/md/Kconfig
> @@ -123,6 +123,7 @@ config MD_RAID456
> tristate "RAID-4/RAID-5/RAID-6 mode"
> depends on BLK_DEV_MD
> select RAID6_PQ
> + select LIBCRC32C
> select ASYNC_MEMCPY
> select ASYNC_XOR
> select ASYNC_PQ
Applied, thanks,
NeilBrown
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web