Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2712661imw; Sun, 17 Jul 2022 15:22:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tDTnuN6yLA1QILlECScb8w2/G+5pYCOHTCMAeN39JClT4PZjkVy0DPs6mMp5CTxJUVULi4 X-Received: by 2002:a17:906:6a1c:b0:72f:2174:13db with SMTP id qw28-20020a1709066a1c00b0072f217413dbmr4660314ejc.687.1658096530010; Sun, 17 Jul 2022 15:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658096530; cv=none; d=google.com; s=arc-20160816; b=zBtZShPpBEkCoI/cgB4dMdrYjfnhvFQJTJf3xMbbD5dazggEPoYA2Bbb5SOeJSFAms VJmetXRwiHLtFOmpFFpwEdF/q7ePCnLtvFtgN6Ag5wCgYnEf9uuogbSUw6ILaPaN8GKA zgnXiH6NmB/Hh3Faq/PKekJMNBveXjjDmyssqmAGCcMWjH6O472P5/nPTv7IXdK0+ZY3 2QJi48bKNEX1YAFsDuIZmvRO3We+ZjjcT+qXXhvJVU8XOTGHUGtIYfetzed2aAIi04rn XH1uR808RoWh9NkbzdPVU+n0p9jq8B/9lvqVzqj7SwvMItw4stRjYBuDbEPwSymCVkEt J7Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=nyzrG7hvu7Tya4/vV8pmII/H6wDDB9RTk/WzCNXAw9k=; b=LyGp6kaZEMrofvBkOUY3YUUd8MY/Uvs/QCqay0WgiN/9j4+dxruRkykrrmbgqFFvG8 PlDaVVbqubbEVLasJENMTVs1c3tVA3UIitTHUx7/lUgdBqf7fYGMivWcUmOc2T2x6mc3 x4iD8psAfoB63ygy4CH3bxZqHMPSJzSdYEcw59EYmvy7Me2VZ/edlPeDNwVnX20J4X31 hWjo9PI6oRobYlTTGnhNIwwML+kKtH2N8i3G94CxsHnARn4K28cjUq9qA/TK4z0HHqMf Q1g4zR2zhZVL+RkWorU0lnRNQiShgsrl3uw1eoMogvJbuAH8m7GXDeTiF4XKEV+gwCAp x15Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M9RYUWBw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a05640226c300b004356d09e34asi16446122edd.216.2022.07.17.15.21.45; Sun, 17 Jul 2022 15:22:09 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=M9RYUWBw; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230357AbiGQWUT (ORCPT + 99 others); Sun, 17 Jul 2022 18:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbiGQWUR (ORCPT ); Sun, 17 Jul 2022 18:20:17 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 415CD1274D for ; Sun, 17 Jul 2022 15:20:16 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id b11so18271453eju.10 for ; Sun, 17 Jul 2022 15:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=nyzrG7hvu7Tya4/vV8pmII/H6wDDB9RTk/WzCNXAw9k=; b=M9RYUWBwLBPtjW4ovR1ITfkUnU/FcuZHLn29wzsdn4rBpldeNcGF675pbUpUzFyNch l4frv/nTU/6Cw8AjtSyECcnyyk1DuGJ14R8B3QwGt9Ox8pfwR98Ce8gNDNzND0jxZlEl OGxGDyQxXTlneyhH7cXYkUfYUFklQ8VfCMNgz0mZfrEf7crtrFPS96tgtfOtns70dLpL 1fYW7fiqseVLI6XixVxBvjAJFzfeerlLd4VonVzJSR3BAAxagujuF3yz8BNnXCsUyp3x DapkBkQZJsGf3VyHlcNo5prpWiNHQ/k85XQf/ki1CklJW80PIEwwIFHd80FJm1FVPdOx uMnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nyzrG7hvu7Tya4/vV8pmII/H6wDDB9RTk/WzCNXAw9k=; b=ABKL5/Sfiq2M19rgxznriHBCxg1GHjaeuSfdODi0p0tLv5rN2Our6gkXsTzDiBAfEU HzHQRUpm0dFbxJFaliQestRW8rgD+R2vFBanhNRTGbI9MCTBjWOLOmOC0ENIwbTQszTU TcFyqHPR9LAaTlH/zCOk/+AaKWshCBhrzblP4Qc+eC+oNU+/L5PlW1M/PO0vaRroJ+ve Zaupw3CUPS/w9OPofVV8Rjjt0QTWvWXTLBZP1MBYdAPU9rszK8+rMFEYKhUqc4iixRNl QylZPqzY0i06RVCTQi/O5J47z3b9FoDgLX67F5YhsuXTQc27cSLU4HXw5QXTh+faK4it KQdQ== X-Gm-Message-State: AJIora8SLS28kbUWps8N9RSpyEur6wsJLBmE7p7wzGha0QIG9sjvieL6 J/K1fB+JbAlCEEjkqrkpwSA= X-Received: by 2002:a17:907:75c1:b0:72f:248d:5259 with SMTP id jl1-20020a17090775c100b0072f248d5259mr4103463ejc.227.1658096414764; Sun, 17 Jul 2022 15:20:14 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id h27-20020a170906719b00b0072aeaa1bb5esm4775365ejk.211.2022.07.17.15.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 15:20:14 -0700 (PDT) Date: Mon, 18 Jul 2022 00:20:12 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] staging: vt6655: Rename MACvReceive0 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann --- Please read all patches of this series then the new name makes sense. --- drivers/staging/vt6655/device_main.c | 4 ++-- drivers/staging/vt6655/mac.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 92583ee8bffd..6525b7baf644 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -420,7 +420,7 @@ static void device_init_registers(struct vnt_private *priv) vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_RCR, RCR_WPAERR); /* Turn On Rx DMA */ - MACvReceive0(priv->port_offset); + vt6655_mac_dma_ctl(priv->port_offset); MACvReceive1(priv->port_offset); /* start the adapter */ @@ -1135,7 +1135,7 @@ static void vnt_interrupt_process(struct vnt_private *priv) isr = ioread32(priv->port_offset + MAC_REG_ISR); - MACvReceive0(priv->port_offset); + vt6655_mac_dma_ctl(priv->port_offset); MACvReceive1(priv->port_offset); if (max_count > priv->opts.int_works) diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index bfcbeb96f839..60e0f980bcc5 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -537,7 +537,7 @@ /*--------------------- Export Macros ------------------------------*/ -#define MACvReceive0(iobase) \ +#define vt6655_mac_dma_ctl(iobase) \ do { \ unsigned long reg_value; \ reg_value = ioread32(iobase + MAC_REG_RXDMACTL0); \ -- 2.37.1