Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3017256pxb; Mon, 18 Oct 2021 06:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDgJgYcmKL2vxGcZh4s5xAgLxAflSKiAWuPSBEPS8Dcplb2EmNPs3mF10HwIA12SNmEwb8 X-Received: by 2002:a05:6a00:2390:b0:44d:bccd:7bc with SMTP id f16-20020a056a00239000b0044dbccd07bcmr11722955pfc.4.1634564473142; Mon, 18 Oct 2021 06:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634564473; cv=none; d=google.com; s=arc-20160816; b=Yl35n8wHOZwo9Byh6zQaqJhq7AhQVPJdgfLtFNEuo2M/Fkaljnh3a2C1DdV25Knwfs kd6nJkxYofuZt9HWz4LfwPl6cLtOr92TMvXWLWnTbe+/Tfbw3muLvf86qP5wcdvmiOBW ROvJQmMct9JD9iT2PPs8+7Sa0ehwGCO6WmD4KctnD043kpGBtk39t1hNlV2N9zPKLJcR I8l22PqX5akBjXpsxw5ZjGiYjivI6VEwjuR3ehbVvDT1GtYm+o50lASz30DE10Qtv+9B ikSVJBW/8blUNKW5qeA+tkMsoOoU4I3TSIdRkYQffqLqAmRuK291pqbeuPwZFI+Yl4RU FJUg== 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=b4GWCtMEzf9AOiD/4YeDImHcoSvh4G7K7nf92K5IqQA=; b=KuxtaE1a1w9y8wsVP9PRZv2AqaIJzLTdUjjfHc7FpONKXTAqSSKYB5+1FGESWo/pgs gaDyPw4niw5F+3NvjHKH+JNR6/vjhA6pn5nc/fxAS9Tvc5xulOIbQ+N1zLTbJyPa7dAQ nmNdRhVCvZxNcdbayjlHLgRgUbLOyqqhiBoUiZ7m65MGWIM9rRa1eUcXvMoy9NSfXutl hD68DlOxkLhlc3lvwPwh86ne7EHqy5iRe06g9FM+uBYQtC6jkTYjXKLw88OioUw2550d HgFkwNcwtri1s8ymzrqk6Hg7iJ7enbiG7mUEXmWboSGi89AWdijYdMBqa6K2eT+YfNwr H7bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nt+Osuob; 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 g1si20581398pjl.47.2021.10.18.06.40.58; Mon, 18 Oct 2021 06:41:13 -0700 (PDT) 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=nt+Osuob; 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 S233567AbhJRNke (ORCPT + 99 others); Mon, 18 Oct 2021 09:40:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:55956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233571AbhJRNia (ORCPT ); Mon, 18 Oct 2021 09:38:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E248161372; Mon, 18 Oct 2021 13:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634563922; bh=Iyu7TEnz67pI/qx6n5wEofWbBHfC59wdErmoqPzeylg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nt+Osuob8wVicvA8LrZOuHBvfzUwaZYlvr0s7iIZDe7wRTf51/YnQr8DFyNozEKeN 2bLv1nim9P2HFeKsPg3qTXX0/SE0hDKAxkqLHIkwvXisWU7N1PbBLFyQOIN+OokyuC 59PEG1/HNbFit4y5KfGyWz/mMPWFHi6f6zCkNFKM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vegard Nossum , "David S. Miller" Subject: [PATCH 5.4 68/69] r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256 Date: Mon, 18 Oct 2021 15:25:06 +0200 Message-Id: <20211018132331.727403167@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211018132329.453964125@linuxfoundation.org> References: <20211018132329.453964125@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: Vegard Nossum commit 9973a43012b6ad1720dbc4d5faf5302c28635b8c upstream. Fix the following build/link errors by adding a dependency on CRYPTO, CRYPTO_HASH, CRYPTO_SHA256 and CRC32: ld: drivers/net/usb/r8152.o: in function `rtl8152_fw_verify_checksum': r8152.c:(.text+0x2b2a): undefined reference to `crypto_alloc_shash' ld: r8152.c:(.text+0x2bed): undefined reference to `crypto_shash_digest' ld: r8152.c:(.text+0x2c50): undefined reference to `crypto_destroy_tfm' ld: drivers/net/usb/r8152.o: in function `_rtl8152_set_rx_mode': r8152.c:(.text+0xdcb0): undefined reference to `crc32_le' Fixes: 9370f2d05a2a1 ("r8152: support request_firmware for RTL8153") Fixes: ac718b69301c7 ("net/usb: new driver for RTL8152") Signed-off-by: Vegard Nossum Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/usb/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig @@ -99,6 +99,10 @@ config USB_RTL8150 config USB_RTL8152 tristate "Realtek RTL8152/RTL8153 Based USB Ethernet Adapters" select MII + select CRC32 + select CRYPTO + select CRYPTO_HASH + select CRYPTO_SHA256 help This option adds support for Realtek RTL8152 based USB 2.0 10/100 Ethernet adapters and RTL8153 based USB 3.0 10/100/1000