Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5128028rwp; Sun, 16 Jul 2023 20:34:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlFpLwoNBMBUkP+oygLalZJLTnik44/csINHn4oz01ZJpYCvJ5yIhXWViFMltsxkIOde5sEJ X-Received: by 2002:a17:902:ea04:b0:1b6:9954:2030 with SMTP id s4-20020a170902ea0400b001b699542030mr12600214plg.8.1689564886841; Sun, 16 Jul 2023 20:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689564886; cv=none; d=google.com; s=arc-20160816; b=pIQNtpL8ROAphguwnllKUVm9Z1M9vrBYG/mSqtaxohrYtP9Opb+40VAf+WG4okIFJr 7LU7GD54yChgnX1/A5zqpoSUs+QIBsTtC8SpAWCdvIRNcxZYwQeYiElmcsJYEQwxHd/v nsjSokOKQrrZ/VzI/xmhsnhK4jQ5SG8iisxwr2AVsI9P66kabrsWe5UK1Vkj0IR+4rO7 Gz8vigi36D51KeGCPsSi1lVjQhWEMDO2bx2bmbuWxeSn9qJ3qzcx2TlSaV/2dAZe9vv/ K55CMnf0mnUGY5KaXuaRdfy0xQDi5ZH3SsHbiHaNfeOylgXQyzIVQeCMCHhBS067o9oh KYnA== 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; bh=Y7cTvQbbWfdZDShSR7aQ1NbYDdzr+MnwUWUWVmWXRxQ=; fh=442rqG6DymkRiINQJm2fIpBKwD1mrubClPEtjpheC6g=; b=FXaECxAxoH8d/YISo2OOR9KyE4XcPtRmck36a06a6DMzVxqKPT5W8FM4tRGqlOJo0Z U6xcAE4gnze4tvPGG8uvhouWPtAH8cM2G0zl26xfjnLoX/ACuZfw4wC6QwkR4zyC4+H1 WdBYcIicRLvtTe4SH1XCJraMAe82Bv+ls7DF9vtTPiHsOfyXIKvBkfhw4NXUVCBJYTFm Adq8KO99PErL9lt6CtIdW3UCL0JaRvFinmAZ3DR6gyMGq+nHyZF5LLId7xc81t4+Uarj Bb60WujcPktGZTGaKjKlVIWpT+srUlC6dyPbhhkN6/H/sisoEmVhaNXarBaFi5rMzXMf eiug== ARC-Authentication-Results: i=1; mx.google.com; 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 ld5-20020a170902fac500b001b3d6c68bd1si10513350plb.643.2023.07.16.20.34.34; Sun, 16 Jul 2023 20:34:46 -0700 (PDT) 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; 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 S230451AbjGQDKy (ORCPT + 99 others); Sun, 16 Jul 2023 23:10:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjGQDKw (ORCPT ); Sun, 16 Jul 2023 23:10:52 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 889A8113; Sun, 16 Jul 2023 20:10:50 -0700 (PDT) Received: from localhost.localdomain (unknown [180.167.10.98]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 79B6E6012605B; Mon, 17 Jul 2023 11:09:44 +0800 (CST) X-MD-Sfrom: yunchuan@nfschina.com X-MD-SrcIP: 180.167.10.98 From: Wu Yunchuan To: wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, irusskikh@marvell.com, rmody@marvell.com, skalluru@marvell.com, GR-Linux-NIC-Dev@marvell.com, yisen.zhuang@huawei.com, salil.mehta@huawei.com, jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, steve.glendinning@shawell.net, iyappan@os.amperecomputing.com, keyur@os.amperecomputing.com, quan@os.amperecomputing.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, mostrows@earthlink.net, xeb@mail.ru Cc: uttenthaler@ems-wuensche.com, yunchuan@nfschina.com, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, kernel-janitors@vger.kernel.org Subject: [PATCH net-next v3 0/9] Remove unnecessary (void*) conversions Date: Mon, 17 Jul 2023 11:09:37 +0800 Message-Id: <20230717030937.53818-1-yunchuan@nfschina.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Remove (void*) conversions under "drivers/net" directory. Changes in v3: change the author name to my full name "Wu Yunchuan". improve the commit message to be more clearly. Changes in v2: move declarations to be reverse xmas tree. compile it in net and net-next branch. remove some error patches in v1. PATCH v2 link: https://lore.kernel.org/all/20230710063828.172593-1-suhui@nfschina.com/ PATCH v1 link: https://lore.kernel.org/all/20230628024121.1439149-1-yunchuan@nfschina.com/ Wu Yunchuan (9): net: atlantic: Remove unnecessary (void*) conversions net: ppp: Remove unnecessary (void*) conversions net: hns3: remove unnecessary (void*) conversions. net: hns: Remove unnecessary (void*) conversions ice: remove unnecessary (void*) conversions ethernet: smsc: remove unnecessary (void*) conversions net: mdio: Remove unnecessary (void*) conversions can: ems_pci: Remove unnecessary (void*) conversions net: bna: Remove unnecessary (void*) conversions drivers/net/can/sja1000/ems_pci.c | 6 +++--- .../ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c | 12 ++++++------ .../aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c | 2 +- drivers/net/ethernet/brocade/bna/bnad.c | 13 ++++++------- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 2 +- drivers/net/ethernet/hisilicon/hns_mdio.c | 10 +++++----- drivers/net/ethernet/intel/ice/ice_main.c | 4 ++-- drivers/net/ethernet/smsc/smsc911x.c | 4 ++-- drivers/net/ethernet/smsc/smsc9420.c | 4 ++-- drivers/net/mdio/mdio-xgene.c | 4 ++-- drivers/net/ppp/pppoe.c | 4 ++-- drivers/net/ppp/pptp.c | 4 ++-- 12 files changed, 34 insertions(+), 35 deletions(-) -- 2.30.2