Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4049935rwn; Sun, 11 Sep 2022 04:13:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR4jOmP2vET7LQ9do5NRULH6F1cGat2nXN5Qei/gcsXBrW0E4nu3Pv2plRVG1UAVjhujW5De X-Received: by 2002:a63:5a1a:0:b0:42b:52f0:4134 with SMTP id o26-20020a635a1a000000b0042b52f04134mr18832750pgb.164.1662894794757; Sun, 11 Sep 2022 04:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662894794; cv=none; d=google.com; s=arc-20160816; b=L6Gwy28haGiXcQY2X+on7gTGL+oJ7sz2ckOK6wKfX4Dj+n3Brd+DeGIcpZh7inLc7i KVjsICiQmu802C1ipVeBRAqgN3JoEe29SOVVJ0tL3cjmqKZIb2wnDC8eVN277T3R4o/c 8G5JT0AfIjKBJQoMEJtemIJMiQqBX75JS61HUrax4KnAzT2vGkUmWi1KSwvHJpVJmu56 tP8SfjOpn0Ia7GOGw1C/Xp6QcWq/u4vN+0ZyYcUZTqCsf/6k7nYvwglh9e52QVfE9E8y k+PmTVl6hJa4rtaQc0sx30hChDYdvSuPZtuy3cw5zXGow4VynzUHZsZmyg7/yHp8f0ve 4k+Q== 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=TT6OYj05Y/OPaIfMBcxSP+HaQFVzI0H6ci3zEsCyTH0=; b=IhhWAMMz7N0AwfKPGgZVLMXFU/F4PquG2qiPBfZ9MOdpKOEzXAg9ZbdKgEbjxi8tsl rlLriZVJ6NRk3wJQpOntqlIye7mp5a7aOgKNFeqiaoxjPKsbFEGFC5WPx9dPxrTdf5Z2 kIocpYAImzz7bpOnmYaZudAtf5TdJxH167j0zIPTM48UvmEOHB5XgmnJ+kHOhYlthdm7 WxC0P6+13glkNLq3GvM6QMoJILuSuE8aduc0OMA8LCEhSXT5VMhpYkvL0wxlD2JBeAFa C9XgSMgmho0xMJDAjSFtsgT86UGEVIThRHtLwPdcTJJtitd2K+bLzPYe4njX+bL0XKM3 CXyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="VPuwS/1K"; 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 h17-20020a170902f2d100b0016c40f8cb7dsi5469125plc.176.2022.09.11.04.12.37; Sun, 11 Sep 2022 04:13:14 -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="VPuwS/1K"; 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 S230336AbiIKKrh (ORCPT + 99 others); Sun, 11 Sep 2022 06:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiIKKrO (ORCPT ); Sun, 11 Sep 2022 06:47:14 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 891FB3C8DD for ; Sun, 11 Sep 2022 03:47:11 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id e20so10859093wri.13 for ; Sun, 11 Sep 2022 03:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date; bh=TT6OYj05Y/OPaIfMBcxSP+HaQFVzI0H6ci3zEsCyTH0=; b=VPuwS/1KbQj6bIjLdGNTfU5UDPGo6ceRfJnMYfBnITrtE7a1M5nBuOJtwAgQCTcXsl r9XjgpLmLlzTKBAvqCKW7TFzvvHhiZ5me9UQUyucu/XHKwhFo6suLw/kk1nGeLJYyL8z dDGxuyXKs4Ql4YX+oMe2dm/9IesjE3yEYgISfikNOqkehWEOK+bDf1pRHDm1zi9CE/PK N/SYG48Xl/08fiS4TahJ94ZWogJK79rWXFRgr9mYjP/QNibBJGHi2/S2FYYeEHc8OfhU KQXzTaiioS6QnlPPEb7Uv+cBCv0LlCswUeWUbn/c3D41QEwEMHDaAPTtH2hYz1hkp0EB 9UxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=TT6OYj05Y/OPaIfMBcxSP+HaQFVzI0H6ci3zEsCyTH0=; b=SaBwdu2uJoyPiHlZ8OFjBaHHiSWivuI+f/4ArM7CLEQOm6PWJHCWzIKE/ZLW+UP4Ao Vn4xSNgHFIAElu8Ez867QimaKZq4UcCZMkdIFFXp+kcc5LgtPYJZCpfFUCnaNiYCxWTV MG/uxBstSlJBVBIKEydSw19Apu6PSMbS5cOhzT5SF2P4XK2pq+dJFO9CZbRWep27fZ02 TkIzx3roUnUcOiJYMaHSeUFYvHnyjHLkkoAtCj8G5rDqCCIABftB1TWPbBLC9ueqIBAy X0tdNrV/D++l9WgZNzjGghCsGqZ4TNjWk8a/WdPVnBjajDRrSVVRMH01iMnWoTlePWEg qStw== X-Gm-Message-State: ACgBeo15z0jdiHDQIKBoz7lMK0kr/cnq5gBpi51SpDH5e26r8fkjGYks QAjZaPAkOj5QRc6Su/mGoU8= X-Received: by 2002:a5d:68c6:0:b0:228:74b6:2b07 with SMTP id p6-20020a5d68c6000000b0022874b62b07mr12073406wrw.60.1662893229758; Sun, 11 Sep 2022 03:47:09 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p57ba2cf5.dip0.t-ipconnect.de. [87.186.44.245]) by smtp.gmail.com with ESMTPSA id 11-20020a05600c020b00b003b4868eb6bbsm112872wmi.23.2022.09.11.03.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Sep 2022 03:47:09 -0700 (PDT) Date: Sun, 11 Sep 2022 12:47:07 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 09/12] staging: vt6655: Rename function MACvSetCurrRx1DescAddr Message-ID: <0d11f588d4746988478521d323ab49e6a0b7f8b0.1662890990.git.philipp.g.hortmann@gmail.com> 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,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename function MACvSetCurrRx1DescAddr to vt6655_mac_set_curr_rx_1_desc... to avoid CamelCase which is not accepted by checkpatch.pl. Remove unnecessary line break. Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/card.c | 2 +- drivers/staging/vt6655/mac.c | 2 +- drivers/staging/vt6655/mac.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index dc39b3668c77..d137b4b45e3b 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -460,7 +460,7 @@ void CARDvSafeResetRx(struct vnt_private *priv) /* set MAC RD pointer */ vt6655_mac_set_curr_rx_0_desc_addr(priv, priv->rd0_pool_dma); - MACvSetCurrRx1DescAddr(priv, priv->rd1_pool_dma); + vt6655_mac_set_curr_rx_1_desc_addr(priv, priv->rd1_pool_dma); } /* diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c index e88536705d23..d6614be79e39 100644 --- a/drivers/staging/vt6655/mac.c +++ b/drivers/staging/vt6655/mac.c @@ -561,7 +561,7 @@ void vt6655_mac_set_curr_rx_0_desc_addr(struct vnt_private *priv, u32 curr_desc_ * Return Value: none * */ -void MACvSetCurrRx1DescAddr(struct vnt_private *priv, u32 curr_desc_addr) +void vt6655_mac_set_curr_rx_1_desc_addr(struct vnt_private *priv, u32 curr_desc_addr) { void __iomem *io_base = priv->port_offset; unsigned short ww; diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index b092e59a5b98..fff9dc72e2c0 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -557,8 +557,7 @@ bool MACbSoftwareReset(struct vnt_private *priv); bool MACbShutdown(struct vnt_private *priv); void MACvInitialize(struct vnt_private *priv); void vt6655_mac_set_curr_rx_0_desc_addr(struct vnt_private *priv, u32 curr_desc_addr); -void MACvSetCurrRx1DescAddr(struct vnt_private *priv, - u32 curr_desc_addr); +void vt6655_mac_set_curr_rx_1_desc_addr(struct vnt_private *priv, u32 curr_desc_addr); void MACvSetCurrTXDescAddr(int iTxType, struct vnt_private *priv, u32 curr_desc_addr); void MACvSetCurrTx0DescAddrEx(struct vnt_private *priv, -- 2.37.3