From patchwork Wed Mar 3 14:24:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1446704 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=fail (SPF fail - not authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.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=desiato.20200630 header.b=LXe/jVSe; 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=EZCIWSXk; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4DrHtx2CGnz9sPf for ; Thu, 4 Mar 2021 02:27:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc: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=FZZ84BMWYKIC3YDVpHaVXh+sVhyRem6lE96Dq6nruLc=; b=LXe/jVSe+j6wS7y9WrK2k+p3Ui sxc01gav7jYp6KkdkePgV/AoVa7+WZYLGBS916xuxz8Zc1nxwR2Ra5TmnBxaN83NbyL96BNEo3zk3 wpU4oKeY26CR+DoCyaKr/e711bDfyOZhseW1dpdpR0F+eveVM7zR7lLaeIXX2XfjC4EpLrilbp+5B uEzwDCVfvJV84mqB3bgbcnYqMfuRb++nENq3WJYTbZzJrJlx+fuPH41EMdhczNmrjagEsvQqvoiH8 /0LQDmy3BnoXrieLcrXFwvOuHwawPj0eFdQjT2MRR25E8nBTI8BduSm5lEWQZDYepg1QsG6XY0uR5 9wt/hxAA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHTMc-005N8V-RH; Wed, 03 Mar 2021 15:24:41 +0000 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHSQM-0057Fy-8h for openwrt-devel@lists.openwrt.org; Wed, 03 Mar 2021 14:24:31 +0000 Received: by mail-qv1-xf2c.google.com with SMTP id x13so5793246qvj.7 for ; Wed, 03 Mar 2021 06:24:25 -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=La32m4FKPsXTcPMXUJXpI9OEjhOtaDj87rCsGzHN2bI=; b=EZCIWSXks5fL9UaNhKIPS2WIOB6JQOr/eiaCvBgnP8iPm0bAvnzwfwa/170UHtCswn HjP0kE15qOVmOyVCEWF/d446DpLKL51uhymZ6zta0PoOaSUElI2WGttAiNay6CqyQiTH Sw/qT6Z1ELRRJsahDgHmuVA6E25WMO/123C8HN+nybZORi+G/FOrFoSknXc4BZr1nIl1 +i9BGOnLT8wOS0kFofTiiy/TuY/bGxfvEsSS5aWGFshHst4/mgdiysVO1SB4RzWnjgDP x8oaepgfSLylNHX+SvBHMLi3c2+Q/7msIWT0KAGps2TjXYmgHZR7bMw31waqJEC2v6mF UnTQ== 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=La32m4FKPsXTcPMXUJXpI9OEjhOtaDj87rCsGzHN2bI=; b=avn0KXYhVnMpFw9RMFq9v737bO1KluarrqzFdyjo0RiO8lUF9UJqrBVfn/lD4OUZUi x1VrOMJSqh12j0bA5WgKPLI6CQRPfWo1R41Ub71eYwzjciWewuJrZdTGj0KNv0sPV57d KbMJ2UcWpw75ihuPothIj+ODhX3UPHLH6z7LNpeMfFOETk5BJWpo6cO2WqT8631IEhEG CGk+JcvpKPaJ7HqM5+96oKwxIC4tc/ylouhRvL1ZU7q7riYDVySmMDBiKexxdPKwlmlk 9kSkha+PYIiWjAb9R6VNBpLMj2W+bWN72PH6cBDMrg67MYWkwhx9ZVTi9PK2WadQjqC9 sNIQ== X-Gm-Message-State: AOAM531M5fwsxUYk3Ta93GVIEUdln/1psMYZ4jAszkiuZWu3hnnb5nJ1 kKEbsYSZWRpmLamGQWfISdiIZmRNBw== X-Google-Smtp-Source: ABdhPJwfg+yW4BNH/InIsR36+4ONsENMWnCHcOxS9PjMtJgGUZq2jgj3JsFABbK3YxU38x1fbfnYDQ== X-Received: by 2002:a05:6214:1144:: with SMTP id b4mr25028939qvt.12.1614781463642; Wed, 03 Mar 2021 06:24:23 -0800 (PST) Received: from presler.lan (a109-49-2-167.cpe.netcabo.pt. [109.49.2.167]) by smtp.gmail.com with ESMTPSA id p35sm15627194qtb.23.2021.03.03.06.24.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:24:22 -0800 (PST) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Cc: nbd@nbd.name, Rui Salvaterra Subject: [PATCH v2] kernel/modules: fix CDC NCM dependencies Date: Wed, 3 Mar 2021 14:24:17 +0000 Message-Id: <20210303142417.476235-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra --- v2: Invert the kernel version check. package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (-0.2 points, 5.0 required) 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:f2c 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 Message has at least one valid DKIM or DK signature -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_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.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- v2: Invert the kernel version check. 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..9ef3fb5974 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_4:kmod-usb-net-cdc-ether) endef define KernelPackage/usb-net-cdc-ncm/description