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: 13404914 X-Patchwork-Delegate: kuba@kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AB3B160; Sat, 30 Sep 2023 02:32:42 +0000 (UTC) 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 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org 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.