Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp330137rwb; Thu, 12 Jan 2023 20:53:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXv2uun/T1QjwypU5/DXhIaqW6N9f4/8ZcH2IfnCM9I7VcwYG2Bz0kHnCcI4GpMPf1bTORvp X-Received: by 2002:a17:90b:4f4e:b0:219:89c3:2847 with SMTP id pj14-20020a17090b4f4e00b0021989c32847mr81696550pjb.44.1673585627459; Thu, 12 Jan 2023 20:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673585627; cv=none; d=google.com; s=arc-20160816; b=Qn8MaFXYY0G/8xfzKH/PM9VE2jqMho9/UAGGRMfGEDfW2T1Jz9WyPS2+brwEm+kCMw KIKxR8wv3hcZYVhee5+AmzbBUPdyZxLaTQFaSxLxRhNZz6ozwtwcQLECuyAXDSmPuKtU 1z6aH2Lp/xoeODJQit8G2Nev0GMnDtupRrnKFOIKs2Ftpq+vo6HLeC0+TsjoZH2hi2SA kQVDXaBVR05vhdlYTEMa8byRd0IwZJ/evLqwhg/wOgitaWZ0hebcL38rwl8gU4iIiSSV DoP6dskDMeQntHltOQh87YM2iqVhjgfunqfI0/f4LSJUPnefCwtppRbwwTZbDff0Lzuo wMUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=RK7kwtLoTwXiQFYRKLpCqcerUjpCY+ogtPq7BCj8+Hc=; b=ZVF7wErg7r8FBO7Lk3woInJateAQTPrgTO9ms9SkqNdtXp8geDWd0qhI9RGJrpyclx kvFI0cxKby3cCTgNF31b0OuwUCt++/Hwz/PMpnQ1snKe1SRVBs7Jq+a2NmCBHQykaKS4 X6ba/i3KKZfvDewOse4ENhR10Nk2sc4iy1oKgIqUZyhdar+UPlQFjPlIDO29/O8iBh2M 6a9MalWanI/tortA9CXjsyJRaD5Yh3DvkD28Hcyn0SVFhrL/vjdTyGhOGNK+lPLiqCH3 44B6zas86Qo1HnDG4ZVKRl1ln18tRkdRqUCyLYUSncdbd8vBmhjlYzxS4Sm8MOmjscnl GNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b=qIlrOw+9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rm13-20020a17090b3ecd00b00219044e1bbdsi21686004pjb.25.2023.01.12.20.53.41; Thu, 12 Jan 2023 20:53:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b=qIlrOw+9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233025AbjAMEto (ORCPT + 50 others); Thu, 12 Jan 2023 23:49:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbjAMEtS (ORCPT ); Thu, 12 Jan 2023 23:49:18 -0500 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A37D5B149 for ; Thu, 12 Jan 2023 20:49:17 -0800 (PST) Received: by mail-qv1-xf2b.google.com with SMTP id j9so14200693qvt.0 for ; Thu, 12 Jan 2023 20:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pefoley.com; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RK7kwtLoTwXiQFYRKLpCqcerUjpCY+ogtPq7BCj8+Hc=; b=qIlrOw+9p5xPgPCq1YNGHwqIEgQIf/DgPOyvmzsar4YJ9G5sfVEvxYZKfHNF4TQlXi jWiFvLk1mUXDR7jV+h6izxD02BdDrxm3+JykT+7Mhvl6Wo9cwfp1LSd2RkT34oA/GtpR IQbRWWBtBLVpDj2uVEac5zh4zg2u2X3i/XBLk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RK7kwtLoTwXiQFYRKLpCqcerUjpCY+ogtPq7BCj8+Hc=; b=NhZER6dbdClj4RT9FQmcExrRKa2Ysgm2f02lDWel/sgYIX2pjJ8ssWtjl0vXUyfu0r JKnmLHE2fB8fOFup2rM+EwFXkG3a33RdMv6b/ND93tO0StzkBkA0J7aom+u7DNutxtNH Zpc1dB5+PygBvQxvyMk1Lgho5i5eAYD3C4oUwwRAavxSNImNNNaiE/xdNpG4JHmkx8ke b4daCRMnLwa8z1p84gmBF+E+HRrkxifdQWkOCONItbfIRRHMyzQygcYd+ZtPK04J+Xsg pZN6AWZl7Vt18FTB7QqBNpcmyrHXXlt34fsNUmXKYlUJ3lUJMNkM9sq+qYXMECiukhIT h4NQ== X-Gm-Message-State: AFqh2krkFMQMq5NRbEdXUsh96Nb9ab2Qf8Ltv0n8GdOoBvIkaHDyH+r2 5XOoAdGgL1xWJWC8agGZOliBaQ== X-Received: by 2002:a05:6214:5811:b0:532:2daa:eb0b with SMTP id mk17-20020a056214581100b005322daaeb0bmr24788992qvb.41.1673585356388; Thu, 12 Jan 2023 20:49:16 -0800 (PST) Received: from [192.168.1.3] ([2600:4040:29fb:d300:887b:7eff:fe74:68b2]) by smtp.gmail.com with ESMTPSA id s11-20020a05620a0bcb00b00704a9942708sm12099472qki.73.2023.01.12.20.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 20:49:16 -0800 (PST) From: Peter Foley Date: Thu, 12 Jan 2023 23:49:09 -0500 Subject: [PATCH 3/4] um: Prevent building modules incompatible with MODVERSIONS MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230112-um-v1-3-6bec9e97ad13@pefoley.com> References: <20230112-um-v1-0-6bec9e97ad13@pefoley.com> In-Reply-To: <20230112-um-v1-0-6bec9e97ad13@pefoley.com> To: Richard Weinberger , Anton Ivanov , Johannes Berg Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Foley X-Mailer: b4 0.11.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1673585354; l=1046; i=pefoley2@pefoley.com; s=20230111; h=from:subject:message-id; bh=FK3QdJgb2KG4YuegWgxOs5tSOgx0C0ibecAQpmjyv/4=; b=IGNaz9VC2rw8NP2KkkaEAY4fe7KpAqDmWHvDImkLzXWrJl+aSMWsOUVNlSoMzxdCgVnz5Ydz8wb3 0g4oXSsQAU8n9zrUnEZHnK3Wm14IJuXioSKD8EoQjn0crlRzH+Pu X-Developer-Key: i=pefoley2@pefoley.com; a=ed25519; pk=DCQqIdN6rHnvfQH58WQiQzJFfGUo1HyWSvdYG8vnO5o= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The manual ld invocation in arch/um/drivers doesn't play nicely with genksyms. Given the problematic modules are deprecated anyway, just prevent building them when using MODVERSIONS. e.g. MODPOST Module.symvers arch/um/drivers/.pcap.o.cmd: No such file or directory --- arch/um/drivers/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/um/drivers/Kconfig b/arch/um/drivers/Kconfig index a4f0a19fbe14..36911b1fddcf 100644 --- a/arch/um/drivers/Kconfig +++ b/arch/um/drivers/Kconfig @@ -261,6 +261,7 @@ config UML_NET_VECTOR config UML_NET_VDE bool "VDE transport (obsolete)" depends on UML_NET + depends on !MODVERSIONS select MAY_HAVE_RUNTIME_DEPS help This User-Mode Linux network transport allows one or more running @@ -309,6 +310,7 @@ config UML_NET_MCAST config UML_NET_PCAP bool "pcap transport (obsolete)" depends on UML_NET + depends on !MODVERSIONS select MAY_HAVE_RUNTIME_DEPS help The pcap transport makes a pcap packet stream on the host look -- 2.39.0