Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp20010pxb; Fri, 15 Jan 2021 04:52:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOAymJHSvxNNQaCs8MYMQKr6sgBSY5mOAsIPN7TXE0aN5OGz/deJU4q6vSswoyMy6XkRTL X-Received: by 2002:a17:906:a015:: with SMTP id p21mr9139006ejy.49.1610715158125; Fri, 15 Jan 2021 04:52:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610715158; cv=none; d=google.com; s=arc-20160816; b=QOPYX/8sABbnLYga+Fvj7Kzf5FjPWRG6yKU8JjhDIDCIDgb3WqzfWl+wPPLu9/uNe6 Rsu49U7N8ttcEBPlIjcLxkGiVd1OXHXMJYIxEShyLyIghOr8RkBssAMtvQA2ZEmEpN+p R0TJ02lrdCyAKGDuUTpW/2TNOqqx/oRXJ/ig0FnwFfEWuqw0u87fV6JAnzM/tDb9fD5G eCCTIkAP31GW9meeU1yv53FKTI4Nrp1lqq3VRWPeY3DgC9dnW+Vbjke3LyeUywNyOBGp GsBPf2PAlgZc1LSu2+v2XijG6EoVETzn5VEqD36DaiFAmAVSRRgXueYvhQJBcu28yMoh MMxg== 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=EaQLXLgMwBSJfOu/34mfCs8D02BqrzcGZaQCTfgHlvaX8eLz4PTO9m0Vaduetmwxrx sGgmcJ2iEkMp033LiAJ2Nw38EUzDQtWjepXcaRRBVdHWhyWDtA0jp8+Fm9uLu6BgUyjZ SSz9oO7lYwoA9RH4izg2iBHUzHnnWsK0NULK1DtBbpStxmTq7YUlPDYv9h5JieGcBUea LwewyoATyfy4XxU0SUGGulOi7TusYFmZ1T0nGz1pLRrwG266Tv7N3pI8lA6wCuN5nheq S6Hzd4tZnD4cBHTGcm1Xf/E9+9OaPHH+DLxalEWFgx/XYoVjOf/oWd8ON8l6taBLNRZJ aO5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CYsWm8NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 j23si4149550eje.690.2021.01.15.04.52.14; Fri, 15 Jan 2021 04:52:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=CYsWm8NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S2387891AbhAOMvM (ORCPT + 99 others); Fri, 15 Jan 2021 07:51:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:42884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387790AbhAOMgA (ORCPT ); Fri, 15 Jan 2021 07:36:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id BDB18223E0; Fri, 15 Jan 2021 12:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610714145; bh=w/CCngwlvQXfR6R9z2V8zA7OSINpshvyHzofDEeKu5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CYsWm8NKp6FzqKBTJSBxHIXdUtetVYS+pDRws9kQ3v8A7o45JFEYIP8GW7tLb1AmT V49ru03U+n1Gr5IE9Zjbihvaxeq/9HyCrd4IexcDQ68SgFVD1fhCU09+k7HO+EOttN +lc23JKgQ5cwcR/XXNlFnyqypSk0ibpCYZcEL8r0= 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.4 50/62] lightnvm: select CONFIG_CRC32 Date: Fri, 15 Jan 2021 13:28:12 +0100 Message-Id: <20210115122000.806755044@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115121958.391610178@linuxfoundation.org> References: <20210115121958.391610178@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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