From patchwork Fri Jan 15 12:28:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 363586 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp258824jap; Fri, 15 Jan 2021 04:43:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHB01c+Ip0rh0CBzbVM4J83yPm7FpPYgvqSiebJTcl42MaSbDwuxiQY1qqokbOaYTdKMcZ X-Received: by 2002:a17:906:1719:: with SMTP id c25mr8975392eje.251.1610714630851; Fri, 15 Jan 2021 04:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610714630; cv=none; d=google.com; s=arc-20160816; b=Jow3E16rDMTlnGx433U2rzOfJGF1PNN8Z1LEQuk5UqpSykQjoJSCLrYSrvgD7cgVD3 E0OwMrGPn/5LtLeHnOWgQCS5GH5vi+eZM802/2SKUjwtEiw199Mln3STsHjKYTMqZbbZ 18c/d4SjK7r/6ycAuxV6a/Aq8fT+27sPrJcQCi6camFPwirpuXHdaCuQgxfcrt3pr464 HVpc0T6ndLFsIwMzNvne8drq3bNMAzAcbhrYnKGpWMzZNtACrEIR8Da9XEW9+qEdC8LY kvBgh/7VHctPtjNS29Aex/PJYtGibofVoDz7cIoa8XOxRh4jfwsCEtAsW7hkK+RK/wAQ rLGw== 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=gIMgE5oDWasEkw1tdKp3AWuJsVtxjgQB5mfrhN4XnaI=; b=0nrUlfPQmI1a7SVYrgHFXY1LeqQaWsQvKogkZ0nxUhI8U1plO5onRTE5SYGoxSoeDk tWb6ZaRK6cLTitAh67Xpgu6G9dFiqUNk5rG5CqiO2IAB4KFdcn09YnJuaKbk4wEA4q3K idjwIe7Im/mGcEw2eM6DH4ZzpwmA4K2uwUnlXu/qZJvIWCUIzV/iqqMJLUzFNgLPjVzc t09WiqHlB9s8IlKL3mr8NnjWtpPiCt5NprDN1vJK9TrFZMvUrVAygQKNZ5OF+sl9Rjup nyLRPGc6zqDBbFPX5BzI9zWi0Jq3ozmVN3gGRMt7PLmRKkQcSocWKuvWfhU4u1uCT3UB sQrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=a9chk7LM; 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 b11si3927605ede.511.2021.01.15.04.43.50; Fri, 15 Jan 2021 04:43:50 -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=a9chk7LM; 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 S1732785AbhAOMnW (ORCPT + 13 others); Fri, 15 Jan 2021 07:43:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:45790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387632AbhAOMin (ORCPT ); Fri, 15 Jan 2021 07:38:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id ABC902256F; Fri, 15 Jan 2021 12:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610714308; bh=w/CCngwlvQXfR6R9z2V8zA7OSINpshvyHzofDEeKu5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a9chk7LM3pCvWEnls/Tp5MGKz5htyKOTIAERcpujtlzyLgXEppp0LUEJYh1LeMTQW aXcwF/rZ4XuBKfomUHDF+Z1P/hlseM2gcWDu7P8DNDGZi69s1Fd4FiDS/BkRyayzQu 4Bjtx3mQSvbg3yWfbTuMasmQVfiyjoqxhgIkrX5A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Jens Axboe Subject: [PATCH 5.10 078/103] lightnvm: select CONFIG_CRC32 Date: Fri, 15 Jan 2021 13:28:11 +0100 Message-Id: <20210115122009.801109446@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115122006.047132306@linuxfoundation.org> References: <20210115122006.047132306@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 19cd3403cb0d522dd5e10188eef85817de29e26e upstream. Without CRC32 support, this fails to link: arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_init': pblk-init.c:(.text+0x2654): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_exit': pblk-init.c:(.text+0x2a7c): undefined reference to `crc32_le' Fixes: a4bd217b4326 ("lightnvm: physical block device (pblk) target") Signed-off-by: Arnd Bergmann Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/lightnvm/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/lightnvm/Kconfig +++ b/drivers/lightnvm/Kconfig @@ -19,6 +19,7 @@ if NVM config NVM_PBLK tristate "Physical Block Device Open-Channel SSD target" + select CRC32 help Allows an open-channel SSD to be exposed as a block device to the host. The target assumes the device exposes raw flash and must be