From patchwork Sat Sep 30 02:32:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 146876 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp203057vqb; Fri, 29 Sep 2023 22:12:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFaMWVHzn9vzLH5+EXyAWF7UlDDNmNhoK6EY2H1x3AB8Txr8cyaqVIKHlugcpJj7eYnnmel X-Received: by 2002:a05:6a20:d425:b0:14d:f8a4:d0d1 with SMTP id il37-20020a056a20d42500b0014df8a4d0d1mr5176624pzb.35.1696050720356; Fri, 29 Sep 2023 22:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696050720; cv=none; d=google.com; s=arc-20160816; b=GnrIi/Dz3GwQ+HTCJMQ+RSZyiK6a6mJ0tMoX+6HM3I+tv/3JdT9g72hiCEAeyjhT/f DdLIXGtc0TWsbZK80dKpZAnfrTJy/1sBem+LcVZabMRFRTab7O3LJBgGXFPaA2AcgU5i DNYhVsyXIeQm30gq4A2GPep2Ji6gPDZDNZsnv41kFeF2eYy4gMmc5qt22t8qB3LllQsC EQHpqJQNvdDy5twCtsVCb56QnDGdES+UsGMBRJPN9TJl88jRH95qFjKHJhVPOLQ2DFVp GnwQinUFRZSTBGGqG7sidJaqVohTrq3atX7zbCu8BR8QAM5u89gApF63oc93FH0lf3KF p72w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qJkG8I/rEuGYYioes7KPLs6fDLcC6dzRpzWtqeVUSY0=; fh=k9xTe1dHmjePWzzEKeCeKk4Kp7w2Vi6i0dxSjWGgQvI=; b=WyrffMpwAFZlblkU7sbWMmYGeF/NqvIFYl4lChpk9+v80ZSAQ7RK+PPmnRnSB4zA9Y F/AEWS/Cgvp0ApPqpYh2JkunamY/eAJvlACMg66D6jbow6owD2Nl/5yvg8KGESiMofWB 5ucddQSGWJ8i5Ucy7MmfR80J7ipEwaIskJBhkgnkeBUySFPjVfVhWqdPi0TDB121PLhN Hx1MHJBhCLdmxxwUJGqx7bacGLjxkqLI0fPqH5yuBbRBMUlKHZ9pbFSZ8XdOzToX5tZO 0ZbXV94ezDikmt83191IpotyrewF7NqM8yqoH0EoezMd6vcqxzXR0HPPuLJHKsI+Ne17 mP4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hTjG9kLv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id gk4-20020a17090b118400b0027450695a78si2764556pjb.172.2023.09.29.22.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 22:12:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=hTjG9kLv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D93F6806533E; Fri, 29 Sep 2023 19:32:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjI3Ccn (ORCPT + 19 others); Fri, 29 Sep 2023 22:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjI3Ccm (ORCPT ); Fri, 29 Sep 2023 22:32:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34F7FA; Fri, 29 Sep 2023 19:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=qJkG8I/rEuGYYioes7KPLs6fDLcC6dzRpzWtqeVUSY0=; b=hTjG9kLv0tHYq4giZb1fd9LN4U 5NyoSkcLlIEqCknsra3pF91h1cgrpEOzOsII6mHrpaRxh38X9Sihhvr46UsHstGqPfRNAKvMjdNFD 11SvwT2YqHmfAiQ2LzBCTDfjLP/4v0xxNW651hh8WBWcfOxBoeHhyw4z2ZLQOQitxBxahtp4iZa4K u8gKNo4v2snULtOge0pyBvs6A3bh296VgY++2t6z9NYJfhJpCP6xwETCAJq/fLPczDypXjBD+Fcbs /ZI0FAyzGZKzg3U8g428ceKiU1Cs177Nn/vt/o2ADtJ570c0ibuYK4f6zVWNlJ6xuocfUMaidTWaF D+fmTmrw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qmPmX-008pFK-1W; Sat, 30 Sep 2023 02:32:37 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Haiyang Zhang , "K . Y . Srinivasan" , Wei Liu , Dexuan Cui , linux-hyperv@vger.kernel.org, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: [PATCH] hyperv: rndis_filter needs to select NLS Date: Fri, 29 Sep 2023 19:32:34 -0700 Message-ID: <20230930023234.1903-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 19:32:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778438080443013635 X-GMAIL-MSGID: 1778438080443013635 rndis_filter uses utf8s_to_utf16s() which is provided by setting NLS, so select NLS to fix the build error: ERROR: modpost: "utf8s_to_utf16s" [drivers/net/hyperv/hv_netvsc.ko] undefined! Fixes: 1ce09e899d28 ("hyperv: Add support for setting MAC from within guests") Signed-off-by: Randy Dunlap Cc: Haiyang Zhang Cc: K. Y. Srinivasan Cc: Wei Liu Cc: Dexuan Cui Cc: linux-hyperv@vger.kernel.org Cc: David S. Miller Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: netdev@vger.kernel.org Reviewed-by: Simon Horman Tested-by: Simon Horman # build-tested Reviewed-by: Michael Kelley --- drivers/net/hyperv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/net/hyperv/Kconfig b/drivers/net/hyperv/Kconfig --- a/drivers/net/hyperv/Kconfig +++ b/drivers/net/hyperv/Kconfig @@ -3,5 +3,6 @@ config HYPERV_NET tristate "Microsoft Hyper-V virtual network driver" depends on HYPERV select UCS2_STRING + select NLS help Select this option to enable the Hyper-V virtual network driver.