From patchwork Sun Feb 28 11:45:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1445244 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=p++2Ht1k; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Xf9ab4kT; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DpM916hg0z9rx6 for ; Sun, 28 Feb 2021 22:48:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=yK94HY6WG5aNYQIAveL/5c3QeY81/FV8vgXUwt1uwQQ=; b=p++2Ht1kF0x0BPSe0ozCJXndoQ ZhcwOeIpHfdmfQdVC5ykjVe3348ap63elS6x8prnq41LQcC0zLYl5CAdcEJxvMWfIXJELv/ZJPg63 uTBT1gO9x1ICaLlpSoXc5iS4mjoZk1ost261MRdoszNFFtl22bx0lZU43edzRq5w6t3RBL4ZBJ8DC rPHvEDf85UIFZzaWvUVoKvg+w4n4Kye+uh0FnnCH9Dv0gkna2GPCvkbupBlWphhoGYUqHggvdakC1 98PFxC4VYXXbxUek1Z+KV88ZSSUmSqZ1CXMQpHYWAFr8rWBTRqdNA4llx3GzFcEK8cMsTMIpLImZ+ 0r1Ywngw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lGKWX-0005G7-QX; Sun, 28 Feb 2021 11:46:09 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lGKWT-0005FT-Of for openwrt-devel@lists.openwrt.org; Sun, 28 Feb 2021 11:46:08 +0000 Received: by mail-qt1-x832.google.com with SMTP id 2so990312qtw.1 for ; Sun, 28 Feb 2021 03:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=049kXhd8rFXEaPoLjN7CI36RryxxnHB13eUheaR2ET4=; b=Xf9ab4kTrrjKfIGE11VfIWM0XArwnKj9Nwu5xh7DmUZVudZI+MbLo1AvU5TfH2BJ4p 2WP6YK7Ej4PnLnru8l6NNSy6N8WubSh5ldUw9wUj1YklRT6mB+yoKX1Fj+0/y7Uot5AO x/2oBKUgc5wiqPHnLbddM2HhenMsV8MwLxhwHmn8ydA4UkwD/yw2S+j0fiXZLu0Ksh1U u3OlLvG77zaVJj8CaBO6QVwvZaa8pHC6KAn2SkGtX0/3JyeAhgzmstCVxpv1wy9cv3Dv favNAnEaVQ9EUiBwit8uR5UtxiOvED7MdVFSQUQd5THsSqy9if1QpeZ+Fl1X6hbT+lkP Y/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=049kXhd8rFXEaPoLjN7CI36RryxxnHB13eUheaR2ET4=; b=PS+V0rW25phXZxIFsJUsxi4oxZr/6HgaKHsXzxPypTS5cJ4Cwlt5/qDL8Zkd5MfoKw 8XI7EYX5mt2ecii0iJaDSoP+1jCEmyQu7pPiAWEVJbl4NqAU/GAv6fy0AZwTrcsaocVl nB/kVBtVKrcOqOZrOE0klSE9NWmbE0b4BO/YJbFqXEZzXVbBqpJSjw8DlHL2A+P3aVkK 3dM7J/xllRJS82krs+05ZcyGYdwTwjrYxk270lbS8MQMDvI2bIXM4VBM2KuCG9r3DqlC RfV++gFPZdTyehVgFSFUxpbRzXDxveIXad2q/tZ1tOB0spChvOhhIUmliaSefQoiFS9C HMAw== X-Gm-Message-State: AOAM530pmdwG7Gnb6kc4dwD72Si2Sf2OdKXLlny82UsnmxYLEEEIwEGn mZB2KTJNoEWpSd7HEZeOben/XzPbCw== X-Google-Smtp-Source: ABdhPJw5WfIgBhEH8xEGPkJ/FZpGYXOahWGfFH015Kgx5wkff54Qobu2N4rEDaRxIbYa9g196IwURg== X-Received: by 2002:ac8:6f53:: with SMTP id n19mr7052665qtv.179.1614512761517; Sun, 28 Feb 2021 03:46:01 -0800 (PST) Received: from presler.lan (a109-49-10-113.cpe.netcabo.pt. [109.49.10.113]) by smtp.gmail.com with ESMTPSA id c8sm2267qtp.57.2021.02.28.03.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 03:46:00 -0800 (PST) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Subject: [PATCH] kernel/modules: fix CDC NCM dependencies Date: Sun, 28 Feb 2021 11:45:55 +0000 Message-Id: <20210228114555.2291-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210228_064605_845901_D2891B72 X-CRM114-Status: GOOD ( 10.33 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:832 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rui Salvaterra , nbd@nbd.name Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra --- package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index e7498af31c..962cb39002 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1387,7 +1387,7 @@ define KernelPackage/usb-net-cdc-ncm KCONFIG:=CONFIG_USB_NET_CDC_NCM FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko AUTOLOAD:=$(call AutoProbe,cdc_ncm) - $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether) + $(call AddDepends/usb-net,+LINUX_5_10:kmod-usb-net-cdc-ether) endef define KernelPackage/usb-net-cdc-ncm/description