From patchwork Mon Jan 18 11:35:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 365521 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp2209186jap; Mon, 18 Jan 2021 04:16:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/rG00M+t9AF48GRGbJ/7WIq4rmQLRH4zKwetlu6PlYyvMCxJn97iKjgtFFDwJgkBw8kV4 X-Received: by 2002:a17:906:3792:: with SMTP id n18mr1186647ejc.47.1610972208539; Mon, 18 Jan 2021 04:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610972208; cv=none; d=google.com; s=arc-20160816; b=0kFWNnpZJH7gzhimSjSX7sslrn89ByOANceKYZdOUfhbWgVpJEsUriOvP4Z4dZhjkT bHlUR1PZIgioVjPbC8VUGu1gtqzJ3OmLQ3job6ylVbTEjYKiNu6R+MCPORl5m3f0vdQH 947c+3724HNtkFFPDypFlvq+2V10a9Ce6sxe/+ZB/wK1Va0871FUUThPZDvukBhuwWt9 c3Y+7PmiarYWAHZ22GH4i7QKSzdJP2tHA+1AZpE0wLQqy+7nSaOjrxkujZcWFvrOr1eq dtO9QE5yYPp8qAD5nxgv9A6lFwusIkecrPHp7KllrNBf40rNnVLqIlJ142PpzGD/XMmW mNMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5loQKQnl9EP3EyLBA72JVm/EYlMuiNp1BuMfZ9miXlE=; b=ypa3SZzAbgvlwinTkDjKSpYA5KmqyFfKZzg/eN+rCp24FxlIRGyIHWS7FciZlD8JiB F/pDWKmBnifIJtF7swwiMMRxNsLCxk6Uk5mir9uhurga4Nzy4z3ZJLWfxmq9YUdJp7Mf IEfjDQOS02rwhDqKLkP3Ck73ELmqrv+8tPiLRBZerwuQNZrvEbgYFS9vzs4YuKhLO/Q3 YfdVohk6M3MrbgSa0cZeuqcqyKghjcPIHGdU+zAjqD1bAIIZS+xOJOWb/rDrtnefMDyi 1yjp15bQ6hC8AScTnx69RmqyIUnWWcXgfZNpydWzIEDoFU0EBKhJBecVYRjW/HKck8s7 SM1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mTfOIxA6; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si5954392eds.582.2021.01.18.04.16.48; Mon, 18 Jan 2021 04:16:48 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mTfOIxA6; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390980AbhARLua (ORCPT + 13 others); Mon, 18 Jan 2021 06:50:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:39924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390754AbhARLql (ORCPT ); Mon, 18 Jan 2021 06:46:41 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B90122D49; Mon, 18 Jan 2021 11:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610970382; bh=jqKKOIQu7nkASQX8/yU0m63PngIdCOEBu10esmCG7wg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mTfOIxA6Y2GV8qp9r0Rhq1F9LqtJUN0TvtbXRuGmSOpJXCXEb/WgorouhSFlS63Bz 4jKEiNl9zdTjNa1riDv4XVE19k5pemWwASzj32w53iJxJ6gL2eqnpa/Vf/hHv/cVdS uH2tJO7Udc/nUEmU7E1qc2n9MuOSq4pVtJRsQdyI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Damien Le Moal , Mike Snitzer Subject: [PATCH 5.10 139/152] dm zoned: select CONFIG_CRC32 Date: Mon, 18 Jan 2021 12:35:14 +0100 Message-Id: <20210118113359.384198731@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210118113352.764293297@linuxfoundation.org> References: <20210118113352.764293297@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann commit b690bd546b227c32b860dae985a18bed8aa946fe upstream. Without crc32 support, this driver fails to link: arm-linux-gnueabi-ld: drivers/md/dm-zoned-metadata.o: in function `dmz_write_sb': dm-zoned-metadata.c:(.text+0xe98): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/md/dm-zoned-metadata.o: in function `dmz_check_sb': dm-zoned-metadata.c:(.text+0x7978): undefined reference to `crc32_le' Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target") Signed-off-by: Arnd Bergmann Reviewed-by: Damien Le Moal Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Hartman --- drivers/md/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -602,6 +602,7 @@ config DM_ZONED tristate "Drive-managed zoned block device target support" depends on BLK_DEV_DM depends on BLK_DEV_ZONED + select CRC32 help This device-mapper target takes a host-managed or host-aware zoned block device and exposes most of its capacity as a regular block