Message ID | 20231009141908.1767241-3-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1904062vqo; Mon, 9 Oct 2023 07:19:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFbHbDG+iu3r9LYYzUeDjUIQ0Jkjnl7hh/vKKSDerGBd6/k0tPub67zf0oBXIRFal7a/3Nd X-Received: by 2002:a17:902:720a:b0:1c3:a215:a9ba with SMTP id ba10-20020a170902720a00b001c3a215a9bamr14510638plb.33.1696861184300; Mon, 09 Oct 2023 07:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696861184; cv=none; d=google.com; s=arc-20160816; b=tcjXZNTCKYT3H8b9zwe1nDR6vY8HD2WGcLSjyU4wWTZ/bPqsyTLlXQj5Xg8wrM/7aC RxtgTRNbpAiUJQuu+4kPCJa0VDTPEuVAA47c/7CQ06w3w1xxJCG0tWgrVs0MleFX5a7D WN487ogAr9K9Y63/wp7rTV4SzQEA0YdsGVJVTLq7QX0BovjofNeBXjXFPyTtjl/+a+pI r5NJb4iaP5yKTiqQRoZ0tGMzMVE9rtjKh5r6oQGxn8jDtGWBcckuYyEG6aZa9CdEp8Zi FeJ1gW47wy2Qi2MNieN+jn3RjnmlTHZnMV+L+uJOtPuzLluA7xJWxJS9MHVDK9rHY9al 61Jw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aiXhVd+Skl1SDeXwfVwa1udc6/4a93csC6iL1H/Zlc4=; fh=ocKFAYXnDx4VTTGv96jforXecIDhYWw8gY1Cjoj8AGk=; b=KmiHScNtK26M6stGf+wPBYtF9+FudSIAT8Na38M6Uww9Bgr7AppY6Vz3Wmzf8o3Es6 Ps5iJ8A/8hVdzWDniEVQPXITJo8Q2LJ6rc/UT9wYLo6sp61B7RZq3Ec6Ibm4GR6c1pPc 3QfmOnc9lHKsk4R5qhMms7WwdVrpPKz7uzN9EkdlfbpDM8ugU226+CDt6b0YYllesug9 2qu6dP5XwYKRtauqgAIFnB+GxcIu35K/3Y1hgpfqHXqB4WHghOEkMXJPng9xsTZ36J74 SwBgELeHPO2xki11D10Pz2EVdbkKlkw0vi3vJQec/KNAelHmlw/gwnyyoXUtFYwOthyB buAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kceedgEg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u15-20020a170903124f00b001c60e273252si9912161plh.25.2023.10.09.07.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 07:19:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kceedgEg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9CB428028876; Mon, 9 Oct 2023 07:19:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377607AbjJIOTh (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Mon, 9 Oct 2023 10:19:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376999AbjJIOTe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 9 Oct 2023 10:19:34 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5376499; Mon, 9 Oct 2023 07:19:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 254CEC433C9; Mon, 9 Oct 2023 14:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696861172; bh=5o5h5CgRG4H4Z5qjk2eknSticE7hPec++pW0EBNapec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kceedgEgxB0UHzObI+BxpbPFb2TW/hw2iIrUfxd4PzxqAKsk4kc7/5bgS/m2df2Rr pFCHqRphEgn++36GwJAYtuus7JFWLWIczkpZmO8ULOzfpcOVbVhhfU0WeE+bEmKgUj elp7YAJXXhDCrh5P1qYP/SY0B0I0eXuzwXab3UJLZ2WiVyhmSZWiZyoU0gEjYGaiNL uAOk52d9TRaOqrwFHkm/9F2NHv+gZflDypnBwDFLQixvpwGwC3+rJthjdWPqhOu5y5 rLgnWgWUFXVO4Zoz7gNUUz03rsxjzwx+3MI9kAKzvMBPsvR4vtVlKnxGnF9VmkM35K dL4YZseD/J+Jg== From: Arnd Bergmann <arnd@kernel.org> To: Jakub Kicinski <kuba@kernel.org> Cc: netdev@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-wireless@vger.kernel.org, Johannes Berg <johannes@sipsolutions.net>, linux-wpan@vger.kernel.org, Michael Hennerich <michael.hennerich@analog.com>, Paolo Abeni <pabeni@redhat.com>, Eric Dumazet <edumazet@google.com>, "David S . Miller" <davem@davemloft.net>, linux-kernel@vger.kernel.org, Doug Brown <doug@schmorgal.com>, Arnd Bergmann <arnd@arndb.de> Subject: [PATCH 03/10] ethernet: sp7021: fix ioctl callback pointer Date: Mon, 9 Oct 2023 16:19:01 +0200 Message-Id: <20231009141908.1767241-3-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231009141908.1767241-1-arnd@kernel.org> References: <20231009141908.1767241-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 09 Oct 2023 07:19:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779287913362769460 X-GMAIL-MSGID: 1779287913362769460 |
Series |
[01/10] appletalk: remove localtalk and ppp support
|
|
Commit Message
Arnd Bergmann
Oct. 9, 2023, 2:19 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> The old .ndo_do_ioctl() callback is never called any more, instead the driver should set .ndo_eth_ioctl() for the phy operations. Fixes: fd3040b9394c5 ("net: ethernet: Add driver for Sunplus SP7021") Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/net/ethernet/sunplus/spl2sw_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/sunplus/spl2sw_driver.c b/drivers/net/ethernet/sunplus/spl2sw_driver.c index 391a1bc7f4463..bb4514f4e8157 100644 --- a/drivers/net/ethernet/sunplus/spl2sw_driver.c +++ b/drivers/net/ethernet/sunplus/spl2sw_driver.c @@ -199,7 +199,7 @@ static const struct net_device_ops netdev_ops = { .ndo_start_xmit = spl2sw_ethernet_start_xmit, .ndo_set_rx_mode = spl2sw_ethernet_set_rx_mode, .ndo_set_mac_address = spl2sw_ethernet_set_mac_address, - .ndo_do_ioctl = phy_do_ioctl, + .ndo_eth_ioctl = phy_do_ioctl, .ndo_tx_timeout = spl2sw_ethernet_tx_timeout, };