From patchwork Thu Nov 30 05:58:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 171738 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp177225vqy; Wed, 29 Nov 2023 21:59:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtI5WSygPl2LLd8nnxKkNvSA+2b5LoFqYTRR3u+5pvJfbeaL4XJSAvs3H4eYEVXjavc0la X-Received: by 2002:a81:af1f:0:b0:5d2:3513:1f6e with SMTP id n31-20020a81af1f000000b005d235131f6emr4752107ywh.39.1701323967399; Wed, 29 Nov 2023 21:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701323967; cv=none; d=google.com; s=arc-20160816; b=C1OxmDgHorcP1Mqn2D7lnvABBhfQJfxmSviwW5f5uKSc6dUyi8JsLyTbo/hvG/Be46 uveN0dVotSRaB298YbqCGEPr+RHN7g5HwhoPVHi0pqvhTcnda4YOaS9s85SACuBF4MdA jycfC9GLKv80rKfGHlhS6Lkb3EUpI4/pPK0iyPS1wABtIkjGAp6g40ReovWg2XvJSg1C MVUB9VI3HVeWuIvoKe6leKUr91fpOFoyrMbLUUW0+SCdLNIV6zaLN0fW7C0/89GvzqGd YAEkq7jMRX2tlWWyrKbTpzc+iQ5hfwrccT6dpptH9MsTg1iF/P2FlnrF1UP65eWFvA1D Xd9g== 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=QJtAxhbCHcDrRV4Aa254WKnp3BN8TL7k7TrxRHdBrhY=; fh=/S1HUrZ8RQF6LET4PDfDqvxqSBptOpxkj5Ya47nwDCE=; b=gy61WgVuoO9G3PuKmyTjz+K9wMIFFUp4J/CkNH6EZyGTUhO4HynVOvcjNatNX5v0Ur TJanHoPwaEFDhvAmzX8NLqhlS1RXUtld314eNfEWJCnTZ5CJGxPQ1kvS4SIPupdjrWOx Y+fHBPgPLSRwq/VapnJTlxOzaU9KKPtOIr7mVbmJ9n15wjOgw3x+YZ3ghgn/Hfif4XxM 1OHqBuALBwDeTWbRTBeXy2IsmlNF0Pf+cTxWrTq61cEuEqMjHqbVOrFZYCKtgSHI723K sFqATKx7cUlZCxc9CDlf1HyEr+yJKfhMuBsE3ECClzfp7Q784R4zZBkGu5c/sT/45WII E/qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YvcI6g1k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id fc16-20020a056a002e1000b006cb997a5f83si532086pfb.31.2023.11.29.21.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 21:59:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YvcI6g1k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 496E3801B3BD; Wed, 29 Nov 2023 21:58:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231706AbjK3F6u (ORCPT + 99 others); Thu, 30 Nov 2023 00:58:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjK3F6s (ORCPT ); Thu, 30 Nov 2023 00:58:48 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F05F0D7F; Wed, 29 Nov 2023 21:58:54 -0800 (PST) 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=QJtAxhbCHcDrRV4Aa254WKnp3BN8TL7k7TrxRHdBrhY=; b=YvcI6g1k+1eUV3+0avRYXIbOgG p2SZ0EUdc5F0Y5Dsotfba0WqgvlwAvBrQ4xJuspFrBleoX+qIxjRYMwUVVPVo6Om1xwX8Xy/5b/YZ WcE1eguohju0yxwfYWIoUD970pq9lENDeNg/EJK8H2PLH9zFdf4SbEtBJQBMpKtw3pG8bVBIwXsQd AkX+kHULUcvbO2egt+EZK5K1FriypfzKj94Q888niLbq4vpurdPvuRCa/ejdGdWr9G4SxL4m42NWu Dr7/fKAvGzKpUIXXDixkhDfj87s3zc4QyI4ZmCpIMnvxVw7goGuhHz3zALyr5lFPCDN9ijAdWE40Y Woz4/h/w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r8a4c-009ziS-1M; Thu, 30 Nov 2023 05:58:54 +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, Simon Horman , Michael Kelley Subject: [PATCH v2] hv_netvsc: rndis_filter needs to select NLS Date: Wed, 29 Nov 2023 21:58:53 -0800 Message-ID: <20231130055853.19069-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 29 Nov 2023 21:58:59 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783967480376904115 X-GMAIL-MSGID: 1783967480376904115 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 --- v2: correct Subject prefix (Michael) 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.